I am trying to re-read a single record file in CLP.

When I tried to RCVF in the program, I kept getting an error
stating "End of file detected for file XAPURGP in REL003PURG."
This was when I tried to read it the second time (and obviously anytime
after).  I tried using POSDBF, and other goodies, but nothing worked.

I had a deadline, and wrote a little ten line RPG program to make
it work, but felt there must have been a CL solution that points
back to the first (and only) record to read it again.  FYI, I am
testing for an end time to prevent another RGZPFM when the users
begin to shuffle in.

TIA -

Dan Rasch - because if the human species concentrated on the really
important things in life, there would be a shortage of fishing poles!
IBM Certified twice....... but still a couple PTFs away from Nirvana.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.