|
I've got a little utility that retrieves messages from another jobs' job log. Its an RPGLE pgm that uses QMHLJOBL. You can have a copy if you want one. Tim > -----Original Message----- > From: John Hall [SMTP:jhall@hillmgt.com] > Sent: Friday, May 28, 1999 1:14 PM > To: MIDRANGE-L@midrange.com > Subject: Re: SBMJOB > > Thanks to All who answered > > Glen the reason I need the Job # is this is a client server app and I > want to be able to track the status of the Job on the PC. Also > certain > objects will be created on the system which I can reference using the > Job # > > The problem I am running into now is that I can't seem to retrieve the > message because the program that generated it is out of the call stack > before I can do the rcvmsg. > > As far as I can tell here is what is happenning. > > The server program is doing a QCMDEXC of the SBMJOB command. > Then I send it my rcvmsgpgm to retrieve the message - It doesn't > retrieve SBMJOB Message no matter what settings I try. I can rcvmsg > on > other messages in the Job Log, higher up in the call stack, but not > the > one I need. > > The server program is third party and I can't change it. > > It seems I may need to go to the QMHLJOBL API. Anyone got any good > examples of this one ? > > Thanks again > > John Hall > Home Sales Co. > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@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 > +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@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-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.