|
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. D Plant7 S like(hlff1) D Count S 5P 0 C/FREE Plant7=Plant; VdlPo=*blank; /END-FREE C/EXEC SQL C+ declare V1 cursor for C+ select vdlpo C+ from vdline where hlff1 = :Plant7 C+ group by vdlpo C/END-EXEC Rob Berendt ================== A smart person learns from their mistakes, but a wise person learns from OTHER peoples mistakes.
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.