|
What frustrates me with %EOF(myfilename) is that we (pre-V5R3) had to read/chain to record formats, open file names, and do %EOF(filename). So a CHAIN RCDNAM would be followed by %EOF(FILENAME) not obvious unless the names were, by convention, similar.
It's only the UPDATE opcode (and at one time the WRITE opcode) that requires the record format name. CHAIN has never required it.
However, I agree... you should be able to use a filename for ALL of the opcodes if there's only one record format in the file. It should only complain when there's more than one record format, and therefore you are being ambiguous.
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.