STRDBG, then use command sbreak to set service entry point break point.

Read sbreak help from STRDBG command line for complete details:

sbreak >>--:--sbreak-->position--:---------------------:--><

On 6/28/07, Thorbjørn Ravn Andersen <thunderaxiom@xxxxxxxxx> wrote:

Bruce Jin skrev den 28-06-2007 19:31:
> Look for PJ job QZDASOINIT in QUSRWRK or QSERVER subsystems. The job is
> gone when the connection is closed. Could you post here if you can
> debug your RPG this way? Thanks
> Steve Moland wrote:
>> I using the follow code snippet to call an RPG program on an AS400
>> ProgramCall pgm = new
>> ProgramCall(sys,"/QSYS.LIB/TRSYS200T.LIB/RTVIPPRINT.PGM",parmList);
>> if ( != true) {
>> AS400Message[] messageList = pgm.getMessageList();
>> }else{
>> The RPG program fails and I need to see why. The problem is I don't
>> which server job to try to put on hold so I can start a batch debug.
>> program runs for less than a second when it works.

I explicitly set inquery messages to be default replies to always have
my backend calls come back, perhaps you could explicitly set your
inquery messages
to ask (as they are then waiting for the reply)?

This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)
mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

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