How I can reread the physical file in CL program once the
end of file reached in same CL program.
Answer Posted / naga srinivas.kattula
Ovrdbf file name with share
rtvmbrd to get the number of recoeds of file
Pos: Posdbf with positon *first
RCVf file name
count the loops
If no of records of file is equal to no of loops
goto POS
enddo
count+
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to select highest score of each subject or how to select highest income of every month?
how do you use commitment control in rpg?
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?
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?
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
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what is program status data structure?
is this a rpg channel?
what is the rpg system?
When it is desirable to describe files Internally?
how can I tell when to replace the array?
How Chain operation copies the record's data to the input buffer for the program?
What is the purpose of record level identifier?
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
what is file information data structure?