|
Santosh, One approach would be to create a job that runs every few minutes and retrieves the status of the job. There is a system API (QUSRJOBA?) that can retrieve the current status of a job. If the API returns a MSGW status for a job you can send a message to the console. Patrick ----- Original Message ----- From: <santoshp@lot.tatasteel.com> To: <midrange-l@midrange.com> Sent: Sunday, November 18, 2001 10:31 PM Subject: monitoring for program going in message wait > There are a number of batch programs being submitted in a subsystem > MSGBATCH in our machine, > at times , some of these jobs go to MSGW. > This position is unchanged until someone notices it and kills it .. Hence > other jobs keep waiting . I cant avoid MSGW coming . > My reqd is that whenever a program goes to MSGW in that subsystem, a > message should be sent to sysopr on console monitor.. > > How can i do that.?? > This will really help me in eliminating one problem of mine from the root > level. > Thanks > Santosh. > > Signature...................... > > e- mail at : santoshp@lot.tatasteel.com > ITS, Tata Steel. > Jamshedpur, India. > Tel : 842134 (O) , 200279 (R). > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-l. > >
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.