Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

AS400 RPG usage of MDT

Posted on 2014-03-10
2
Medium Priority
?
690 Views
Last Modified: 2014-03-11
I am doing maintenance on a RPGIII program.  I need a way to determine if the user changed a field on the screen (not a subfile).  The keyed value can be the same as the originally displayed value (or different) but I need to know it was keyed and not just left.

I thought I could use the Modified Data Tag for this.  But it appears I am wrong.  :/

Does anyone have any suggestion?  

Thank you in advance.
Lynn
0
Comment
Question by:lynn_harris
2 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 2000 total points
ID: 39919869
By "a field", do you mean "any field" or "a specific field"?

Whichever it is, you'll probably want to use the
CHANGE (Change) keyword. At the record level, the keyword causes the associated response indicator to be set on if any input-capable field in that record format is typed into by the user. At the field level, it's enabled only for those fields that have the keyword.

The documentation link shows simple examples at both levels.

Tom
0
 

Author Closing Comment

by:lynn_harris
ID: 39919893
Excellent.  Thank You! Tom.

(it was two specific fields)
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question