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 <firstname.lastname@example.org> 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: email@example.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: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.