|
Thank you Patil... "nan pat" <seedrp@hotmail.co To: JAVA400-L@midrange.com m> cc: Sent by: Subject: Re: Problem in transferring control owner-java400-l@mi from a CL program to the JAVA Program drange.com 05/07/2001 09:12 م Please respond to JAVA400-L hi Sunita For trapping any sort of error do MONMSG(CPF0000) it will trap any error occured in CL Dajiba Patil >From: suneethakalapala@lincsoftware.soft.net >Reply-To: JAVA400-L@midrange.com >To: JAVA400-L@midrange.com >Subject: Re: Problem in transferring control from a CL program to the JAVA >Program >Date: Thu, 5 Jul 2001 17:48:14 +0530 > > >David, > >Thanks for your reply. > >Yes, I have observed that if I trap the error (using a Monmsg), it works >fine. >But it may not be possible to trap all the errors. Some errors cannot be >predicted. So is there any thing I can do in such cases? > >Thanks, >Suneetha. > > > > > David Gibbs > <david@midrange.co To: >JAVA400-L@midrange.com > m> cc: > Sent by: Subject: Re: Problem in >transferring control > owner-java400-l@mi from a CL program to the >JAVA Program > drange.com > > > 05/07/2001 04:55 ã > Please respond to > JAVA400-L > > > > > > >At 06:05 AM 7/5/2001, you wrote: > >I have written a Java program which calls a CL program residing on the > >AS/400. I am using JTopen 2.02 and IBM Tool box. If an error occurs in > >the CL program, the control is not returning to the Java program. The > >Java program will be hanging. Is there any way to get the control back to > >the Java program even when an error occurs in the CL program? > >Your CL program should monitor for the error message and deal with it ... >that way the program will not end in error. > >david > > >-- >| Internet: david@midrange.com >| WWW: http://david.falling-rock.org >| >| Expect me when you see me. > >+--- >| 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 >+--- _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 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.