× 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.



I did that Buck, but it still doesn't open my actual source member when
I click an error. It opens the precompiler member in QSQLSRC now.

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Buck Calabro
Sent: Wednesday, July 31, 2013 3:24 PM
To: wdsci-l@xxxxxxxxxxxx
Subject: Re: [WDSCI-L] SQLRPGLE Compile Errors

On 7/31/2013 2:08 PM, Robert Mullis wrote:
When I compile an RPGLE source and get errors, I get the error
listing.
Clicking on an error in the error list takes me to the line in the
source member with the error and inserts the error text underneath
the source line. This does not happen when the source member is a
SQLRPGLE.
I still get the error list and am able to click on the error, but it
does not go to the source for the SQLRPGLE. Instead, RDp opens the
temp source created by the SQL precompiler in EVFTEMPF and goes to the

line in that temp source. I then have to go to the actual source
member to make the correction.



Is there a way to get SQLRPGLE compile errors to go to the actual
source, instead of the temp source in EVFTEMPF? I am running RDp
8.5.1 on V5R4.

Lpex has been showing me the errors in the regular source for as long as
I can remember - at least WDSC 7.0.0.8. But I do recall having to do
something to get there. I looked at the wiki to see if it had the
secret sauce and it did.
http://wiki.midrange.com/index.php/WDSC_tips/Compile#SQLRPGLE_Compiles_h
ow_to_find_Compile_errors

I compile 'interactively' (which is a misnomer because the 'interactive'
job is really a server job running in batch!)

I use this command when compiling my SQLRPGLE:
CRTSQLRPGI OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) OPTION(*EVENTF)
RPGPPOPT(*NONE) REPLACE(&R) TOSRCFILE(*CURLIB/QSQLTEMP1)
COMPILEOPT('DBGVIEW(*LIST)')

If the wiki is unclear, please take a crack editing it to make it better
for future readers. You particularly have a good perspective on what is
missing / unclear because you are about to configure RDP the way you
want it to become. Which is exactly why people will want to read that
wiki entry...
--buck
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & 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.