The statement RESOURCE (1,D10X0102) says that this job requires quantity 1 or resource D10X0102.
If the resource is available the job runs.
Is that RESOURCE used by any other job?
If not set Resource D10X0102 to 0 (NOT available)
Then reverse what Operators do and have them set Resource D10X0102 to 1 (Available)
Would that resolve your issue?
------------------------------
Senior Systems Analyst
UPS
United States
------------------------------
Original Message:
Sent: 07-02-2021 10:04 AM
From: Elliott Fitzgerald
Subject: Using a RESOURCE Rule
Good morning CA community,
I have a question regarding using a RESOURCE rule. I created a job in our test environment that is to wait until a started task is brought down.
JOB JOBESTFF
RESOURCE (1,D10X0102)
RUN DAILY
DATASET 'ODTEEBF.JCL.CNTL'
ENDJOB
The JCL for this job is a simple IEFBR14 job so that I can test some functionality of certain features. I noticed that even when the resource is up, the job still runs successfully. I am not sure what I am doing wrong, but basically I want the job only to run when the resource is down. The resource is brought down manually by Operator intervention.
Any help or suggestions would be greatly appreciated.