Solved

AS400 RPG usage of MDT

Posted on 2014-03-10
2
584 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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
RPG to c# 3 360
Check file/object size on AS400 3 171
RPGLE Uploading spreadsheet to AS400 5 105
JDEdwards AP Batch 4 49
One of the biggest threats in the cyber realm pertains to advanced persistent threats (APTs). This paper is a compare and contrast of Russian and Chinese APT's.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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