And it still does not "bust" the "(not a) myth", IMHO.
> You can still upgrade, use the old stuff.

Had an RPG-SQL program written back for V4R?. The programmer put SET OPTIONS in *INZSR physically at the end of the source code. It compiled way back then and has been running fine since.

Yesterday, another programmer tried to re-compile it (to get a listing) and the precompiler failed it because the SET didn't physically appear before other SQL (like FETCH). No code change, not even opened in an editor, just a re-compile. The only fix was to physically move SET to the top of the C specifications.

It took some explaining as to why a moron like me would ever recommend using SQL embedded in RPG when simply re-compiling would break things in addition to the precompiler being essentially RPG ignorant. That programmer left with a scowl, and probably bad words to tell others about SQL and RPG.
  --buck

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.