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 |
what is the use of unique keyword and what level it is defined?
I have to execute 12000 CL Commands one by one.. So, I have created a file called COMMAND. This file has only 1 field called STRING. This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc) I have written a CL which will read all the record and do sbmjob.. But it is not working... Plz help me to exexute all these 12000 commands..
define a output queue?
writing an sql statement from selecting records from two files using single statement and nested select statement.
what is a non-join logical file?
How do you read a subfile record which is in output mode?
how to read database records without locking them?
what is a spool file?
what is the maximum number of parameters allowed in clp?
during input operation which indicator position is seton if there is a record lock?
What is SFLPAG
what do we can do with the embedded sql statements?