× 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 am able to use a custom compile command or the IBM command CRTSQLRPGI to 
successfully compile my SQL RPGLE source from WDSC. In either case I am able to 
get the compile error list back in WDSC.  But... what is not workinking is the 
link from the error list back to the source code. When I double-click a 
specific error, the source member that opens is the output of the SQL 
precompiler. NOT the original SQL RPGLE source.  I can manually open the 
original source from the Remote Systems Window. But its a nuisense that 
double-clicking the error does not open the correct source automatically.

Is this considered a bug in WDSC? To reproduce this issue, simply compile from 
WDSC using the IBM command CRTSQLRPGI, then double click a line in the iSeries 
error list.

Thanks,
Sarah

-----Original Message-----
From: David Gibbs [mailto:david@xxxxxxxxxxxx]
Sent: Wednesday, January 05, 2005 11:27 AM
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] Re: Compile commands


Alan Campin wrote:
> Anyway, in order to get it to work, I issue the command COMPILE
> though WDSC but like you, I did not get anything back. I notice below
> that David says OPTION(*SRCDBG). I think he meant to say
> OPTION(*EVENTF) but that still did not work. You always have to use
> OPTION(*EVENTF) and I could see the Event file being built but not
> being returned to me. 

Actually, I did mean OPTION(*SRCDBG) :)

What I did, for our compile commands (part of the Implementer SCM 
product) is put a dummy parameter on the compile command where I put the 
'SRCMBR(&N) OPTION(*SRCDBG)'.  Neither parameter is actually used by 
anything, but WDSC notices them and is able to return the compile 
information.

The actual compile command needs to have either the OPTION(*EVENTF) or 
OPTION(*SRCDBG) parameter.

> Finally found that the only way I could get it
> to work was to compile interactively and that would work. I, also,
> got the free plug-in from Softlanding to retrieve messages from the
> message queue to show me the result messages.

Make sure the compile is not submitted within the batch compile.  WDSC 
submits the compile, and keeps track of the submitted job.

Also, make sure you don't compile the object into QTEMP ... if you do, 
the event file will be written to QTEMP and WDSC won't be able to 
retrieve it.

david

-- 
David Gibbs
david@xxxxxxxxxxxx

Receipt of this message does not grant you permission to send me
Unsolicited Commercial Email

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


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.