|
>When I have this: > > C endsr > P/copy qrpgplesrc,zzr024 > >...the SQL precompile bombs with SQL1106. > >When I have this: > > C endsr > C/copy qrpgplesrc,zzr024 > >...the SQL precompile works (where the first >statement in "zzr024" is a "P" to >begin the procedure). This is a legacy of the old Auto-report program generator. RPT would 'sort' the specs in the right order for you. So I could have a /COPY member that had F, I and C specs in it, and the compiler would put them all in the right place. Then somebody decided that auto-report was rarely used, but the /COPY function was popular, so the /COPY function got included in the base RPG compiler. But the first versions of that compiler didn't sort the specs into the right order. Modern versions do. The precompiler is apparently using the older logic. Our comrades in Toronto are working on the precompiler integration, so perhaps we'll see some relief soon. --buck
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.