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 (pgm.run() != true) {
AS400Message[] messageList = pgm.getMessageList();
}else{

The RPG program fails and I need to see why. The problem is I don't know which server job to try to put on hold so I can start a batch debug. The RPG 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)?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.