Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

AS400 RPG usage of MDT

Posted on 2014-03-10
2
Medium Priority
?
665 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Files go missing when using DFS (Distributed File System) Replication and how to recover them and fix it.
Whoever said that “a picture is worth one thousand words” observed a fact that can dramatically affect your marketing success. Most people tend to learn visually, so many publishers commonly acknowledge the effectiveness of visual learning by using…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

704 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