|
I think we had errors when we did C/END-FREE But /END-FREE was okay. Rob Berendt ================== A smart person learns from their mistakes, but a wise person learns from OTHER peoples mistakes. Buck Calabro <Buck.Calabro@com To: rpg400-l@midrange.com msoft.net> cc: Sent by: Fax to: rpg400-l-admin@mi Subject: RE: Free format vs SQL drange.com 09/06/2001 03:48 PM Please respond to rpg400-l >I have a problem, (who doesn't), with the SQL precompiler. If I remove the >C from in front of the first /FREE in this program, it will not compile. >Instead of putting the SQL data structure right after my last D spec it >will put it after the /END-FREE and before the C/EXEC SQL. Basically, it >inserts this data structure before the first C spec. I tried to trick it >by using a C* prior to the /FREE but that wasn't good enough. It still put >it after the /END-FREE. I guess that comments count as a C spec. Presuming that your standard is to not use "C" on any precompiler statements, try an empty C spec. That works on my V4R5 system anyway. Buck Calabro Commsoft; Albany, NY Visit the Midrange archives and FAQ at http://www.midrange.com "As a rule, men worry more about what they can't see than about what they can." -- Julius Caesar _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.