|
It's news to me too. I began programming in COBOL in 1975 and we had programs then that were already years old that used the 'READ filename AT END...' construct. It was, however, common practice to have a trailer record at the end of sequential files, usually with hash totals. If you got to end of file without finding the trailer record then you knew you had a file problem. Having read the trailer record and checked the hash totals you read the file again to make sure it really was the end; if you found records after the trailer that too was an error condition. Any systems that still use this technique could well have a Y2K problem. Dave Kahn Johnson & Johnson International (Ethicon) France Phone : +33 1 55 00 3180 Email : dkahn1@jnjfr.jnj.com (work) dkahn@cix.co.uk (home) -----Message d'origine----- De: Fisher, Don [mailto:DRF@HeiligMeyers.com] Date: 02 September 1999 23:07 À: 'MIDRANGE-L@midrange.com' Objet: RE: 9/9/99 Really? When I started coding on the AS/400 in 1989, COBOL had an end of file function. I take it you are referring to considerably older code? +--- | 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-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.