David;
First thing is to check if you are compiling in batch or interactive. Check the properties on the connection, Sybsystems and uncheck the Compile in batch.
The compile will be done in the same job as your connection and thus the pre-compiler will put the temporary source in its QTEMP lib and have access to it.
When you compile next time it should bring up the errors in the temporary source, which should be un-editable, but you can then flip between the source and temporary to fix your errors.
Duane Christen
--
Duane Christen
Senior Software Engineer
(319) 790-7162
Duane.Christen@xxxxxxxxxx
Visit PAETEC.COM
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of David Gibbs
Sent: Tuesday, December 01, 2009 9:16 AM
To: Websphere Development Studio Client for iSeries
Subject: [WDSCI-L] Is there a trick to compiling RPG SQL programs in RDI?
I've made my first foray's into writing RPG SQL programs and found that RDi's support for them to be somewhat lacking.
When I compile the program, the error list points to the temporary source that the SQL pre-processor generated.
If I override the temporary source to a real source-pf, I can get the errors to display (more or less, as they point to code that wasn't really written), but I also get a object lock error eventually (which I don't have the details of at the moment).
Is there any trick to working with RPG SQL in RDi?
Thanks!
david
--
IBM i on Power Systems - For when you can't afford to be out of business
--
This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.