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
can I touch the array during treatments?
How to select highest score of each subject or how to select highest income of every month?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
Explain mdt?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
How can we override a file during runtime in rpg?
How to call one program from another program in RPG? please help me with the code
do you use message subfiles? What are the necessary keywords required coding a message subfile?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
how do you use commitment control in rpg?
What is file identifier where we can use?
how can you display specific subfile page on the screen in unequal subfile?
What is the difference between iter and do?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How to handle duplicate error handling in RPG?