• Subject: RE: Error Messaging
  • From: Adolfo López Escribano <escriban@xxxxxxxxxxxx>
  • Date: Wed, 8 Mar 2000 09:08:08 +0100

You triggers programs must be throw exceptions sending escape messages
(QMHSNDPM API). The exception must be arrive to try-catch block java client.
If you want, I can send  you a update-before trigger program developed in
RPG ILE.
regards

Adolfo



----- Mensaje original -----
De: a b <eagle_291@yahoo.com>
Para: <JAVA400-L@midrange.com>
Enviado: martes 7 de marzo de 2000 20:42
Asunto: Error Messaging


> I apologize for the elementary question, but I was
> wondering if it was possible to return an error code
> from the as400 to a method which in turn would display
> it on a web page?  We've developed a few classes which
> update a couple of files on the AS/400.  Those files
> have triggers attached to them which execute a series
> of "back end" processes.  I need to be able to return
> an error message to the classes that are updating the
> file... and that's where the confusion begins.  I
> apologize for the confusion, but I thank you in
> advance for your help.
>
> Again, Thanks.
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://im.yahoo.com
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to
JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner: joe@zappie.net
> +---

+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---

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