What really do you need - to see whether a job is running, or to see that a job
is finished ?
ITO allows to execute specific commandfiles on MPE normally stored in
/OVOPC/MONITOR/ group.
For example, we monitor whether the scopejob is always running with an ITO
monitor MPE_SHOWJOB. The following commandfile is executed every 3 min:
[20] XEBHH2:print chckjobs.monitor.ovopc
SETVAR HPAUTOCONT TRUE
COMMENT OPCMON.BIN.OVOPC needs to be executed to satisfy the threshold
OPCMON.BIN.OVOPC "MPE_SHOWJOB=10"
SETJCW CIERROR 0
TELL SCOPEJOB,MANAGER.SYS VOYAGER IS HERE
IF CIERROR<>1627 THEN
OPCMSG major,SCOPEJOB,,Job,&
SCOPEJOB,MANAGER.SYS not executing: GOSCOPE.OPS.SYS NOW !!!
ENDIF
IF CIERROR=1627 THEN
SETJCW CIERROR 0
TELL OPCCTRLJ,MANAGER.SYS VOYAGER IS HERE
IF CIERROR<>1627 THEN
OPCMSG major,OPCCTRLJ,,Job,&
OPCCTRLJ,MANAGER.SYS not executing: STREAMX OPCCTRLJ.XESMJOB.SYS NOW !!!
ENDIF
SETJCW CIERROR 0
TELL ITOMONJ,MANAGER.SYS VOYAGER IS HERE
IF CIERROR<>1627 THEN
OPCMSG major,ITOMONJ,,Job,&
ITOMONJ,MANAGER.SYS not executing: STREAMX ITOMONJ.XESMJOB.SYS NOW !!!
ENDIF
ENDIF
The "trick" is the OPCMSG execution.
Additionally, we have written a continuosly running job OPCCTRLJ which checks
different things all day long. It feeds ITO also using OPCMSG.
By the way, I'm happy to see another customer running ITO on MPE !
If you need more detailed information just let me know.
Best regards, Andreas Schmidt, CSC, Germany
[log in to unmask] on 04/07/2000 11:21:13 AM
Please respond to [log in to unmask]
To: [log in to unmask]
cc: (bcc: Andreas Schmidt/GIS/CSC)
Subject: [HP3000-L] Monitoring MPE stdlist of background job with ITO
Hi guys,
I am trying to figure out if it is possible to monitor the stdlist of a
background job using ITO. I know that I can do a
%PRINTO #J<#####>;WAIT
in MPEX, but how do I get ITO to monitor it ?
TIA.
|