Question { IBM, 64717 }
How I can reread the physical file in CL program once the
end of file reached in same CL program.
Answer
The PF must be opended using OPNDBF or OPNQRYF in CL. Then
using POSDBF OPNID(Filename) POSITION(*START) command we
can make the cursor to point to begining of the file.