RE: Verifying SQLRPGLE

"Chevalier, Rick" <Rick.Chevalier-3osVxHMge1hy/[email protected]>
Newsgroups gmane.comp.systems.as400.code
Message-ID <BF8EB306059FA640A6FD65F289991ADB09C094FC@srvexarl01.acf.americredit.com>
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:[email protected]]
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-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/code400-l
or email: CODE400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.