On 2/10/2015 9:18 AM, rob wrote:
Correct me if I'm wrong but it's ok to read the last record, and still
reposition? But the problem occurs when you try to read past the last
record and get the EOF message?

Exactly.

In my opinion, CL is only barely suited to simple one pass file read
chores like
DSPOBJD OUTFILE()
LOOP:
RCVF
/* do something */
GOTO LOOP

Once we try to use CL for anything more sophisticated, we face the
reality of CL's limited file I/O capabilities. I can't speak for anyone
else, but when I argue with reality I usually lose.


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.