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



Hello guys

We have a Java-Windows application that uploads text files (one at a time)
to the iSeries/System i/AS400 machine and then calls a Stored Procedure to
process
the file uploaded.
The SP calls an RPG program that in turn conditionally call other RPG/CL
programs.
all of the above is executed in a QZDASOINIT job (spawned especially?)

Sometimes one of the RPG/CL programs in the process "bombs" (with a CPFXXX)
but the guy using th Java application is not aware of it, it is the SYSOPR
actually that
sees the MSGW status of the QZDASOINIT job and calls a programmer to look
at it.

Now,
Is there a way to trap the errors and inform the Java application user that
there was an error ?
This* without* inserting MONITOR lines in the RPG programs and manually
returning
some kind of a return code?

The Java programmer tell me she can trap an error but an error is not
received.
(perhaps it is another QZDASOINIT job? )

Any advice will be appreciated

Regards
Gad

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.