Setting the global values
Values that you specify on an event (for example, on the SRSTAT command) update the overriding (or global) quantity, availability, and deviation, which are stored in the current plan separately from the default values from the database.
The batch daily planning process (REPLAN or EXTEND) never deletes resources from the current plan if you have set the overriding quantity, availability, or deviation, even though there might be no operations in the plan that reference the resource.
An SR is considered
eligible for deletion if all of the following
conditions are satisfied:
- The global quantity is not set.
- The global availability is not set.
- The deviation is not set.
- No intervals are modified.
- RODM Availability, Quantity, and Deviation are set to N.
To make a resource eligible for deletion
at the next REPLAN or
EXTEND, reset the manually set value. For example, consider this sequence:
- The resource TAPES is not in the current plan.
- You
issue the command:
SRSTAT 'TAPES' SUBSYS(OPC1) AVAIL(YES)
- HCL Workload Automation for Z adds TAPES to the current plan, taking the values from the resource database.
- HCL Workload Automation for Z sets the overriding (global) availability to YES. It leaves the overriding quantity and deviation fields blank, so that HCL Workload Automation for Z uses the quantity from the intervals (or default quantity).
- You run a daily planning REPLAN or EXTEND. There are no operations in the plan that reference TAPES.
- The TAPES resource remains in the plan, because you have set its availability.
- You issue the command:
SRSTAT 'TAPES' SUBSYS(OPC1) AVAIL(RESET)
- HCL Workload Automation for Z resets the availability of TAPES to its default value.
- You run a daily planning REPLAN or EXTEND. There are no operations in the plan that reference TAPES.
- The TAPES resource is deleted from the plan.
Note: The previously-described process applies to dynamically-added SRs only when a daily
planning REPLAN or EXTEND is run with DYNAMICDEL(YES). In this instance, dynamically-added
SRs are deleted, provided they satisfy the same conditions to be considered eligible for
deletion.