>> From all the discussion I've heard on it, that was a common practice in
COBOL programs as COBOL has no real EOF function (or didn't anyway).

I don't recall any point in history when COBOL did not have an AT END option
(i.e. EOF).  On some systems I have worked with placing a high value (all 9s) in
a dummy record at the end of file was done to allow you to position to
(effective) EOF and read backwards - or is this what you meant by EOF function ?

Either way, it would never finish up as 09/09/99 it would have been 99/99/99.


+---
| 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 thread ...

Follow-Ups:

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.