how can i get the cursor position in display screen to
to display my window?

Answers were Sorted based on User's Feedback



how can i get the cursor position in display screen to to display my window? ..

Answer / gurjit oberoi

Or we can ude file information data structure

Is This Answer Correct ?    3 Yes 1 No

how can i get the cursor position in display screen to to display my window? ..

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

how can i get the cursor position in display screen to to display my window? ..

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

how can i get the cursor position in display screen to to display my window? ..

Answer / xxxxx

with rtncurpos key word we can get cursor pos

Is This Answer Correct ?    3 Yes 3 No

how can i get the cursor position in display screen to to display my window? ..

Answer / bharathi

RTVCURPOS

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More IBM AS400 AllOther Interview Questions

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 ....?

13 Answers   Mind Tree,


what is a non-join logical file?

1 Answers   IBM,


How can we find from which source the program has been compiled for a given RPGLE program object?

5 Answers  


When does the DFT keyword in PF be used?

1 Answers  


what are the limitations of cl (compare to rpg) ?

1 Answers   IBM,






what is the length of a variable in rpg?

1 Answers   IBM,


what is the use of unique keyword and what level it is defined?

1 Answers   IBM,


How can we update a specific field in RPG?

0 Answers  


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?

2 Answers  


how do you specify the number of records to roll in a subfile ?

2 Answers   IBM,


list some of the commonly used commands for debugging?

1 Answers   IBM,


can we define multi-dimensional arrays in rpg ?

1 Answers   IBM,


Categories