how can i get the cursor position in display screen to
to display my window?
Answers were Sorted based on User's Feedback
Answer / gurjit oberoi
Or we can ude file information data structure
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / 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 |
Answer / sapthagiri .p
Usin the Key word RTNCSRLOC . but befor using this key word
in you ensure that you are creating an hidden field C#fld
and in your program If C#FLD = 'Desired field' call your
window .
Is This Answer Correct ? | 1 Yes | 0 No |
which are the figurative constants used in rpg?
give three main purposes of file specification ?
Why do you use Keep and Assume Keywords.
what is RCLRSC?
what is the function of crtdupobj command?
when is a tag statement used in rpg?
What is field reference file?
What are the different definition levels in Data Description Specifications?
when do you explicitly open files and close files in an rpg program?
what is *iso date format?
What is file access opcodes?
Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO