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
is there any way to dynamically merge other html scripts into a given html?
Can we debug the MSGW JOBS?
what are the different methods to access seu?
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 are the different types of variables available in cl?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
what are the important factors in error message subfile ?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
What is program status data structure(psds) in as400?
how can you detect and handle a record lock situation?
What is diff between EVAL & MOVE?
different type of cursor?
what if my system I runs with system value qccsid 65535?
How can we change the uppercase to Lowercase in RPG?
how do you read data area in an rpg program?