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



Use sbreak in the command line debugger to set a breakpoint or use SEP in
RDI to set a breakpoint. When program is called, it will break into your
job.


On Wed, Sep 11, 2013 at 8:59 AM, rick baird <rick.baird@xxxxxxxxx> wrote:

How do you debug an rpgle called from java?

I'm flying blind here. I've written the web service programs and the java
guy is in another city and we're communicating by email - this is really
all the info have - he's using the rational development tool. he sent me
this:

Toolbox for Java - Open Source Software, JTOpen 7.8, codebase 5770-SS1
V7R1M0.08 built=20130103 @H5
java.home=/QOpenSys/QIBM/ProdData/JavaVM/jdk60/32bit/jre
java.vm.version=2.4 java.version=1.6.0 os.name=OS/400 os.version=V6R1M0

and

Thread[HttpServer : 0,5,main] Wed Sep 11 09:33:33:329 EDT 2013 Invocation
of program failed.
AS400Message (ID: CEE9901 text: Application error. RNX1216 unmonitored by
WS119 at statement 2100000001, instruction
X'0000'.):com.ibm.as400.access.AS400Message@365e365e

he's getting the CEE9901/RNX1216 when he calls, and according to him he
knows he's starting the program.

I know his jobs are running in QHTTPSVR but I can't find a job log with any
errors.

I've searched the archives and the web for any number of combinations of
java/rpg/rational/debug/ etc, but can't find anything that's helping.

I don't need a long answer, just give me the first clue as to where to
look. a job log, or a way to start debug via a service job or
something.... anything....

Thanks!

Rick
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.