×
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.
This is where SEP's (Service Entry Points) are golden. Using WDSC you can
right click on a *PGM or *SRVPGM object in a library and select to set a
SEP. This will then bring up the WDSC debugger when that program is run for
the profile specified (by default it is set to your profile).
Check out this video tutorial I created showing how to debug an RPG web
service using WDSC's SEP. It is similar to what you will need to do:
http://rpg-xml.com/video/RXS_WDSC_WEBSRV_DEBUG_SEP/RXS_WDSC_WEBSRV_DEBUG_SEP
.html
HTH,
Aaron Bartell
http://mowyourlawn.com
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [
mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Steve Moland
Sent: Thursday, June 28, 2007 11:50 AM
To: java400-l@xxxxxxxxxxxx
Subject: How to debug RPG pgm called from Java on a PC
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.
Steve Moland
Access Paths Inc
12 Parmenter Rd Unit C4
Londonderry NH 03053
603 845-0190 Ext 2
603 315-0340 Cell
steve@xxxxxxxxxxx
--
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,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.