1. I have2 records in a PF.
READ PF
DO
DSPLY EMPNO
RETRN
DSPLY EMPNO
ENDDO
What was the output
2. SETON LR vs RETURN
3. Primary File
4. How to delete a deleted spaces
5. How to read a PF in reverse order in CL
6. I have a object in Lib A, B and C. But it shows in D
Lib..Why?
7.
Answer Posted / venkatesh p
Once RETURN excute then system exit the program, second
DSPLY will never excute, in first DSPLY EMPNO system will
show the first record value.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to handle duplicate error handling in RPG?
what is the procedure and explain about real time scenario.
How Chain operation copies the record's data to the input buffer for the program?
what is a rpg?
how do I play {insert rpg system here}?
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
what is the use of sflnxtchg?
What are the types of identifiers?
What is the difference between copybooks and subprocedures in as400?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what is program status data structure?
what is data area and how it is used in rpg program ?
how can I tell when to replace the array?
what is the rpg system?