|
On 30/09/2009, at 4:09 PM, Dave McKenzie wrote:
One possibility is to use the QWVRCSTK API to examine the
stack. I put a sample pgm at:
Thanks. I considered that option but felt (entirely subjective
with no empirical evidence) that materialising the call stack
would be slower than getting parent pid and job name. Still, I
only need to test if in QSH once in the program so speed doesn't
really matter. I'll try to make time to time both approaches.
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.