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 |
I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?
what is a non-join logical file?
How can we find from which source the program has been compiled for a given RPGLE program object?
When does the DFT keyword in PF be used?
what are the limitations of cl (compare to rpg) ?
what is the length of a variable in rpg?
what is the use of unique keyword and what level it is defined?
How can we update a specific field in RPG?
Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?
how do you specify the number of records to roll in a subfile ?
list some of the commonly used commands for debugging?
can we define multi-dimensional arrays in rpg ?