• Subject: Re: Monitoring batch job
  • From: qappdsn@xxxxxxx
  • Date: Thu, 22 Jan 1998 07:59:27 -0800

Lo wrote:

> I'd like to be able to set up an external monitor to inform me whenever
> an OS error message is issued for a particular batch job. As far as I
> know, all messages of that sort are sent to the *SYSOPR message queue,
> and I would hate to monitor QSYSOPR *MSGQ. Is there any way to make the
> system change the destination of error messages for a given batch job?

Without being logged onto my AS/400, you might look at the parameters of the
SBMJOB for a message queue but I think that's for the completion message.  You
may also want to look at creating a JOBD for these jobs.  I believe that there 
a parameter for messages there also.

We use a command which echo's messages to a specific user.  It's real simple in
that it doesn't allow the receiver of the echo to answer, it just sends "Msg:
xxxxxxxxxxxxxxxx was sent to QSYSOPR".  If interested let me know.

| 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

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].