I have a display file which have 3 fields A,B,C ..And these are input/output both fields. What i want is to position cursor on that field which have reverse image indicator on .(I am putting it on when that particular field has error)...Please suggest how to do ? I know RTNCSRLOC or CSRLOC will do for me but i tried them in vain
Software/Hardware used:
as400 V6R1
ASKED:
November 17, 2011 9:52 PM
UPDATED:
November 18, 2011 4:25 AM
Is this a Subfile?
For non-subfile
Here is one method – using display attribute ((PC) Position Cursor keyword. Each field would have a different indicator. Turn on the one you want to position to. Turn off the others.
MYFLD 3Y 0B 10 45
39 DSPATR(PC)
Phil