|
I have not found an API to list the program stack. There are two ways to get the information that I know of, one, DSPJOB *PGMSTK to print and read the spool file, or two, sndpgmmsg to caller, receive message to get caller name, send message to that program's caller, receive message to get next programs name, send message to..... until you reach the top of the stack. I admit neither one is grand, but I would opt for the second option if I needed to know the stack in a program, and the first if I was going to simply read (using my eyes) the spool file. I would love to see an API to list the program stack, but I sure can't find one, and I've looked hard. Anyone with enough knowledge of the internal OS/400 job structures and MI care to write one? -Walden > -----Original Message----- > From: mcsnet!midrange.com!midrange-l-owner@Mcs.Net > [mailto:mcsnet!midrange.com!midrange-l-owner@Mcs.Net]On Behalf Of Tim > Truax > Sent: Saturday, January 10, 1998 2:33 AM > To: MIDRANGE-L@midrange.com > Subject: Re: Integrity help? > > > The journalling will id the program, but I am unsure (without doing a DSPJOB * > *PGMSTK) via the QCMDEXC api) that there is any way to do this with > the trigger. > There is another question on the list exactly like this one. I am gonna follow > this thread closely. > > :-) Tim & Dana Truax (-: <snip> +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.