How to read alternative records in a pf by using rpg?
Answer Posted / uday bagdai
1st set the pointer on the record(depend on rrn).after increase the rrn value by 2 (rrn=rrn+2).trape their on doweq loop so you can read alternative records.because (your pointer set on alternative records)
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
how can I tell when to replace the array?
how do I declare a minor?
what is data area and how it is used in rpg program ?
is this a rpg channel?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
How to call one program from another program in RPG? please help me with the code
how does the rpg element work?
What is difference between bind by copy and bind by reference?
What is the difference between copybooks and subprocedures in as400?
How many program bind in one module....
what is kids-rpg?
How can we know running job is batch or interactive?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
What is the purpose of record level identifier?