How I can reread the physical file in CL program once the
end of file reached in same CL program.
Answer Posted / naga srinivas
WE can't read the file again once you reached end of file.
If you want to use the POSDBF command before reaching the
end of file you make to position to starting.Use RTVMBRD, we
get the number of records in the file.Count the number of
records retrieved.When the count becomes equal to number of
records in PF..use POSDBF and make the cursor position to
intial record
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is ment by record level identifier?
what is the necessary keyword needed to scroll subfile records?
what was the robotech rpg?
How to declare the pull button in AS/400..
what is the procedure and explain about real time scenario.
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?
What is the purpose of record level identifier?
what is an online rpg?
What is a record lock error?
how do you use commitment control in rpg?
what is the use of sflnxtchg?
Explain mdt?
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...?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
is this a rpg channel?