Solved

AS400 RPG usage of MDT

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now