|
Hi Rick, You don't actually include the SQLCA in the source. You only need it in your library list. Then when you verify the program, specify NEED_SQLCA in the dialog. To get to the dialog choose the option to verify with prompt and you can add this define in the Defines page. If you will be doing this a lot, you may want to add it to the Verifier Preference page (Windows->Preferences->Remote Systems->iSeries->Program Verifiers->ILE RPG->Defines). Whatever you add to these Preference pages will be used for all the verifies. When you eventually compile the program, don't use this define or else you will get compile errors. Regards, Nazmin Haji Eclipse iSeries Tooling Development D1/140/8200/MKM Phone: (905)413-3355, (T/L) 969-3355 Fax: (905)413-4850 Email and Same Time Connect: haji@xxxxxxxxxx "Chevalier, Rick" <Rick.Chevalier@xxxxx To: "'CODE/400 Discussion & Support'" <code400-l@xxxxxxxxxxxx> credit.com> cc: Sent by: Subject: RE: Verifying SQLRPGLE code400-l-bounces@xxx range.com 05/29/2003 08:57 AM Please respond to CODE/400 Discussion & Support Interesting idea, I hadn't thought of that. It does raise a question though. Doesn't the pre-compiler also include the SQLCA? What happens if I have included it and the pre-compiler also tries to add it? Does the RPG compiler error out on duplicate definitions? I am actually using the LPEX editor in Wads 5.0 and am unfamiliar with the verify dialog you mentioned (I don't have any experience with CODE). Can the same thing be done there? Rick -----Original Message----- From: Michele Cummings [mailto:mcumming@xxxxxxxxxx] Sent: Wednesday, May 28, 2003 3:35 PM To: CODE/400 Discussion & Support Subject: RE: Verifying SQLRPGLE Hi Rick.. If the problem that you are encountering is due to the fact that the SQLCA DS is not defined, you could use the following workaround:. Define a compiler-condition. Specify NEED_SQLCA in the Verify dialog for your Code/400 verify, but don't define it for your regular compiles. This way you do not have to keep changing your program. /IF DEFINED(NEED_SQLCA) /COPY sqlca_ds /ENDIF Hope that helps. Michele Cummings WDSC for iSeries _______________________________________________ This is the CODE/400 Discussion & Support (CODE400-L) mailing list To post a message email: CODE400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/code400-l or email: CODE400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/code400-l. NOTE: WDSc for iSeries disucssion has it's own mailing list. Information can be found at http://lists.midrange.com/cgi-bin/listinfo/wdsc-l
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.