The MONNKILL tool is intended for automatic monitoring of jobs which have parameters and status specified by system operator.
Job's monitoring is proceeded periodically with interval given is seconds.
Monitoring process is running as batch job in QSYSWRK subsystem (by default).
Thanks to this, operator which has defined MONNKILL proces does not have to keep interactive session. Operator only need to check records in log (MONNKILLOG file).
Example of command usage:
MONNKILL JOB(ASD) AJS(MSGW)DSPJOB(Y) DSPJOBLOG(N) ENDJOB(N) SNDRPY(Y) REPLY(C) DELAY(3600)
This means to scan system every 1 hour for batch job named 'ASD' with active job status equal to 'MSGW'. If a job with such parameters will be found, command DSPJOB will be issued, and reply 'C' will be sent to job.
|