|
At 11:58 AM 8/11/2003, g man wrote: > >is there a way to find out what program caused the trigger to be > >activated...i.e RPG, DFU whatever ?? And Pete Hall wrote: > Well, if nobody else comes up with anything better, you can > materialize the invocation stack. There's a built in MI > function in the RPGLE template that > runs the matinvs operation. The MATINVS function is a mine-field :) If you happen to try to materialize an entry that is a system state/domain program then you'll see MUCH errors about domain protection violation ! There is now (since V5R1) an API - QWVRCSTK - which avoids this issue. http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/apis/qwvrcstk.htm --phil
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.