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
What is difference between bind by copy and bind by reference?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
what is kids-rpg?
how do I preserve and clean the array?
can you debug ile rpg program using isdb?
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?
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 mdt?
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?
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?
how can I tell when to replace the array?
what do you mean by an input subfile, what are the keywords required?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
When it is desirable to describe files Internally?
explain sflclr, sflend, sfldlt, and sflcsrrrn?