|
Almost exactly the same phrase I remember also from COBOL classes. Perhaps because I regularly "read files/write records" I never experienced this situation: Does anyone have experience with a program that reads by record format name but needs to be overridden one day to a different file that has a different format name? Tom Liotta rpg400-l-request@xxxxxxxxxxxx wrote: > 9. Re: Pros and Cons Of Reading Format Name Or File Name > (rob@xxxxxxxxx) > >Don't know. I do remember in my college COBOL class having to repeat out >loud: >"READ A FILE, WRITE A RECORD" So, it's pretty well drilled into me. > > >Joe Giusto >Sent by: rpg400-l-bounces@xxxxxxxxxxxx > Subject: Pros and Cons Of Reading Format Name Or File Name > >I understand the need to read format names when you have multiple record >formats in a file and only want one or the other, but what if any >advantages >are there to always reading record format names. IMHO it is more >confusing >to have a program full of reads to format names as they can vary so much >from the file names (in our case I am referring to logicals here). And >why >do we need to always write to record format names instead of file names >even >when there is only one record format in the file? -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 Fax 253-872-7904 http://www.powertechgroup.com __________________________________________________________________ McAfee VirusScan Online from the Netscape Network. Comprehensive protection for your entire computer. Get your free trial today! http://channels.netscape.com/ns/computing/mcafee/index.jsp?promo=393397 Get AOL Instant Messenger 5.1 free of charge. Download Now! http://aim.aol.com/aimnew/Aim/register.adp?promo=380455
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.