|
Dean, I remember... but I think that this will only work if you only read the file for the exact number of times for records in the file (rtvmbrd?). If you read past the end of file, you can't reset. Rick DAsmussen@aol.com wrote: > > Richard, > > In a message dated 98-08-27 17:08:01 EDT, you write: > > > Try separating the RCVF and related processing from the DSPOBJD in a > > separate CL. > > > > The problem is that a CLP cannot reset after reaching end of file. > > But if it ends and you call it again, it will start at the beginning. > <<snip>> > > We had this conversation "many moons ago". I seem to recall that, despite > protests to the contrary of its' only working for OPNQRYF files, I was able to > use POSDBF POSITION(*START) in this instance (the documentation was wrong). > However, a combination of OPNDBF and CLOF might have done the trick instead... > > Regards! > > Dean Asmussen +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.