|
To monitor java exceptions in RPG, I was retrieving messages from the pgm's message queue and looking for RNX0301 or MCH74A5, and based on message data determining how java method ended. It was working all fine. MCH74A5 message reason code was telling me whether java issued System.exit(0) or System.exit(-1). All of a sudden it started not to work. When I debugged, I noticed that Java related messages started going into QJVAJNI message queue instead of the pgm that calls the java method. (I swear It was going to pgms message queue before) And I wasn't able to retrieve messages from QJVAJNI. The system level is V5R1. Anybody experienced this problem before? Most likely I am missing something in the compile options. I got Thread (*serialize) already. Thanks for any help in advance. Regards, Ali
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.