how can an indexed file be used as arrival sequence in RPG?
Answer Posted / kamlesh
do not specify K for record address type in F spec.
Use RECNO(VRRN) keyword where VRRN is packed data type
having dec pos as 0 and has length enough to hold
largest RRN of ur PF.
Now move RRN in VRRN variable and apply
VRRN Chain FILE 99
ur required record is retrieved
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is difference between bind by copy and bind by reference?
what was the robotech rpg?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
How to write record if no field or the field are different in physical file in rpgle ?
what is the difference between do while and do until?
What is a record lock error?
What is the difference between copybooks and subprocedures in as400?
How would display prime numbers using CL program?
how can you display specific subfile page on the screen in unequal subfile?
What is the purpose of record level identifier?
what is a rpg?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
how do I play {insert rpg system here}?
can you debug ile rpg program using isdb?