Midrange News for the IBM i Community

Posted by: Chris Proctor
Programmer Analyst
Columbia Sports Company
Portland, OR
Retrieving MSGW details for a QBATCH job?
has no ratings.
Published: 07 Jan 2015
Revised: 07 Jan 2015 - 3341 days ago
Last viewed on: 01 Mar 2024 (5901 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Retrieving MSGW details for a QBATCH job? Published by: Chris Proctor on 07 Jan 2015 view comments(1)

Good morning. I have a NEP that monitors for batch jobs that go into MSGW and sends an email to the user(s). I have been ask to provide error message details. I assume there is a way to do this with an API, but so far I haven't been able to find it. I am using the QUSLJOB API to retrieve the job information and status.

Can someone point me to an example of how I might implement this addtional error info?


Return to midrangenews.com home page.
Sort Ascend | Descend


(Sign in to Post a Comment)
Posted by: starbuck5250
Premium member *
Comment on: Retrieving MSGW details for a QBATCH job?
Posted: 9 years 1 months 22 days 20 hours 10 minutes ago

Try the List Job Log Messages API (QMHLJOBL)