× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.