How to position the cursor on a display file at a desired
location.
Answer Posted / swadesh
One way is, go to display attribute property of display
file and position the cursor on desire fields by
DSPATR(PC).cursor will be set on that field.
| Is This Answer Correct ? | 17 Yes | 4 No |
Post New Answer View All Answers
what is sflrolval?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
what is the maximum number of files allowed in rpg?
what is full form for dds?
can you specify a display file to be used in the following modes input,output, or combined modes ?
What is %CHECK?
what is the purpose of ovrdta (override data) keyword?
define the rcvf command?
how to toggle between single line and multi - line display of a particular record in a subfile?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
what is the difference between sflclr and sflinz?
In RPG How to read a records from a file without using read opcodes?
how can you check for a records existence without causing and i/o (chain/read)?
Apart from opening of a file do we have any other use of USROPN?
in conjunction with what other keyword must ovrdta and ovrata be used?