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



Thank you all for responding. I'm going to back up and learn a little more
about the java code because I think the issue is a parameter issue from the
java side. Here's why.

The RPG program is also called from other rpg programs and works perfectly.
The box I'm doing this on is V4R5 and there is no Sbreak in STRDBG. It's
there on m V5R2 box but it would take too much to move all that I need there
right now.
The dump of the failed program shows that the failed program failed before
the first executable line of code executed.
Eval Fcycle = 1 never happened.
I need to get WDSC installed and learn to use it to a minimum level on the
V5R2 box before I pursue any more of this.

thanks again for trying to help
Steve

"Steve Moland" <steve@xxxxxxxxxxx> wrote in
message news:f60ott$oes$1@xxxxxxxxxxxxxxxx
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.

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.