how can i get the cursor position in display screen to
to display my window?
Answer Posted / yogesh
Return Cursor Location (RTNCSRLOC)keyword in display file.
You must specify the cursor-record parameter and the cursor-
field
parameter. You can also specify the cursor-position
parameter.
The fields you specify for cursor-record and cursor-field
must be
unique, 10-character, hidden fields that are defined for
the record
format.
The field you specify for cursor-position must be a signed-
numeric,
4-character, hidden field that does not have decimal
places. The
field must be defined for the record
format.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
how can I automatically refresh a web page?
what are various techniques to pass parameters from one program to another?
records can be read/update/deleted with which file?
How to reverse a string using RPG?
what does vldcmdkey means?
what is a composite key?
difference between sflrcdnbr and sflnxtchg?
what is join logical file?
what is sflrolval?
what are the different types of variables available in cl?
what is the version of os/400 that we have?
How can we arrange duplicate records in a file?
what is the difference between seton lr and retrn?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
when do you explicitly open files and close files in an rpg program?