|
Wayne Achenbaum > Does anyone know when RPG stopped requiring Factor 1 on the READE opcode > or if was ever required. I was pretty sure that it was required at some > Release. It seems by not requiring factor 1 a door is wide open for > logic errors. For example the typical filekey setll filename followed by > a filekey reade filename. If the reade is missing the filekey in factor > 1. the reade is matched against the full key of the current record (I > guess the record that the file cursor is sitting under) based on the > record format used which may or may no be the same as the key specified > on the setll. TIA Hi Wayne! I believe it's been like that since V1R3. I suppose any feature of the language could be a source of logic errors if not used properly. READE was "enhanced" to improve performance in certain cases. BTW, in the next release of RPG, all indicators on I/O operations will now be optional! You'll be able to use built-in functions to test end of file, record not found, etc. Cheers! Hans Hans Boldt, ILE RPG Development, IBM Toronto Lab, hboldt@vnet.ibm.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the Midrange System Mailing List! To submit a new message, * * send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from * * this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe MIDRANGE-L' in the body of your message. 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-2025 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.