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 of the following operations does not zero the field flda defined as 4,0?
define data structure?
What is the default access path of a file?
can we retrieve dspf source?
What is a Join Logical File, Can it be used for Update ?
how to define to define a hidden filed in dspf ?
How to reverse the string in rpg
how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE
where will control be passed after the execution of the *pssr subroutine if the factor2 of the endsr is blank ?
why we use binding directory and service pgm
Define each of the following operation codes a, b, c, d, e
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.