How I can reread the physical file in CL program once the
end of file reached in same CL program.
Answer Posted / sekhar
PGM
DCLF FILE(FILENAME)
READ: RCVF RCDFMT(RECORDFORMAT)
MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END))
OPERATIONS
GOTO CMDLBL(READ)
END: ENDPGM
| Is This Answer Correct ? | 10 Yes | 20 No |
Post New Answer View All Answers
what is a rpg?
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?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
what do you mean by an input subfile, what are the keywords required?
how can I tell when to replace the array?
what are the key words you must use when using a subfile?
what is the rpg system?
How would display prime numbers using CL program?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How to handle duplicate error handling in RPG?
What is the difference between copybooks and subprocedures in as400?
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.
What are the types of identifiers?
what was the robotech rpg?