Customer needs to watch for a job being up EXCEPT between 5:25 and 5:45 Monday, when it is supposed to be down and doesn't want the MVS_REQ_JOBS event to be monitored during that interval.
Customer brings down a monitored job which must be available 7X 24 except during a 15 minute interval when the job is not running for a recycle of the STC/JOB.
To DISABLE the Event Scheduler MVS-REQ-JOBS you will need to create a new member in your CAPTURE Library. Let us call the MEMBER DISREQJB. Here are the contents:
CONTROL NOFLUSH
CAPPARMS DESCR C' SHUTDOWN OF MVS-REQ-JOBS '
SCHEDULE ;CAPTURE
SELECT NAME EQ MVS-REQ-JOBS
LINECMD DIS 2
CAPTURE
LISTLOG
CAPTURE
Next SCHEDULE the Event Capture to run prior to your shutdown time for time which will precede the shutdown.
Once the JOB/STC is brought back up to enable the MVS-REQ-JOBS create another CAPTURE member. Let us call it ENAREQJB and here are its contents:
CONTROL NOFLUSH
CAPPARMS DESCR C' ENABLE OF MVS-REQ-JOBS '
SCHEDULE ;CAPTURE
SELECT NAME EQ MVS-REQ-JOBS
LINECMD ENA 2
CAPTURE
LISTLOG
CAPTURE
After successful execution of each of these Event Capture members if you look at the contents of them on the CAPLIST display you should see in the LISTLOG event the following:
GSV2304I Timer event MVS-REQ-JOBS has been disabled
and the subsequent message on the enable:
GSV2304I Timer event MVS-REQ-JOBS has been enabled
Requires SCHEDULE update to execute the jobs DISREQJB and ENAREQJB Event Captures.