|
Grizzly M wrote: > > Is the stack trace readily available when the Java class is instantiated > from an RPG program? From what I've read it isn't and I'd have to create > a new method to log the stack trace and then change some settings in > order to view the entries. > In V5R3(*), if you set environment variable QIBM_RPG_JAVA_EXCP_TRACE to the value 'Y', the RPG runtime will request the stack trace if a called Java method ends with an exception. The stack trace goes to stderr. Prior to V5R3, the stack trace isn't available if you call a Java method using RPG's EXTPROC(*JAVA) support. (*) The RPG program also has to be recompiled on V5R3.
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.