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


Please Help Members By Posting Answers For Below Questions

how will you find a string using pdm?

691


which cl command can be used at program execution to redirect the file named in an rpg program?

706


Apart from opening of a file do we have any other use of USROPN?

953


How to reverse a string using RPG?

687


define what a data area is along with a brief example of what it may be used for?

959






how many types of display are available on as/400 for user interaction?

631


what is the difference between sflclr and sflinz?

1032


how does the runqry show the output?

881


Explain The Keywords Edtcde & Edtwrd?

835


how can you specify no duplicate key?

700


what opcode could be used to test an alphanumeric field for all numeric values?

1069


is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?

586


what is a keyed physical file?

1001


name few ibm supplied libraries?

1212


which are the string manipulation opcodes?

622