|
Ed: You need to use QMHLJOBL API with LJOB0100 format to get the job log messages in a user space. Then read the user space and manipulate as you wish. I actually put the darn thing in a subfile display with options to execute or prompt with a command wrapper called WRKJOBLOG. Ed.Doxtator@ssa.co.uk wrote: > Hey all! > > I'm trying to process messages that appear in the joblog. The process is > this: > > 1. Execute a command in a CL/C/RPG program. > 2. The command puts messages in the joblog. > 3. The command finishes executing, and the joblog messages need to be > examined for specific message ID-s for auditing purposes. I need to spin > backwards through the joblog, until I find the command executed in step 1. > > How do I fetch these messages? I'm not really familiar with this kind of > message handling, so any help would be appreciated. > > Thanks! > -- Thank You. Regards Dave Mahadevan.. mailto:mahadevan@fuse.net +--- | 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-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.