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

PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM In above example,what is content of myfile.txt ...Thanx

2 Answers  


What is the purpose of STRCMTCTL command?

1 Answers  


What is the difference between crtdupobj and copyf?

0 Answers  


how does the runqry show the output?

0 Answers   IBM,


How to Define a Procedure in RPG?

0 Answers  


what is sflpag and sflsiz ?

2 Answers   IBM,


How to declare the length of emp no in the physilcal file and the mandatory length is 6 i.e. Emp No should be numeric, mandatory and fill all the 6 places

2 Answers  


what does check opcode is used?

1 Answers   IBM,


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

0 Answers  


4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlight all 4 person have different speed. a = crosses bridge in 1 min. b = crosses bridge in 2 min. c = crosses bridge in 5 min. d = crosses bridge in 10 min how can they all reach in time.?? Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.

1 Answers   Manhattan,


What are the types of object authorities?

1 Answers  


What are the mandatory keywords of sub file?

0 Answers   IBM,


Categories