RCVF In CL
Thank you for your help.
Looking for relevant AS/400 Whitepapers? Visit the Search400.com Research Library.
BigKat | Feb 21 2008 2:33PM GMT
Your question doesn’t say if you tried closing and re-opening (OPNDBF) the file
Gilly400 | Apr 8 2008 3:18PM GMT
Unfortunately the OPNDBF command doesn’t seem to re-open a file once it’s closed.
Bvining | Apr 9 2008 2:17PM GMT
Nothing is going to reopen the file within the CL program getting end-of-file except the CLOSE and subsequent RCVF I mentioned earlier (and of course exiting the CL program and recalling it). CLOSE however is a V6R1 enhancement.
Ashnirody | Apr 9 2008 6:54PM GMT
I had to settle for moving the inner nested loop to another CL program. Ending this program and calling it again resets the pointer in the file. It is not an elegant solution but it works. Thank you all or your suggestions.
Ash