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:
  1. The resource TAPES is not in the current plan.
  2. You issue the command:
    SRSTAT 'TAPES' SUBSYS(OPC1) AVAIL(YES)
  3. HCL Workload Automation for Z adds TAPES to the current plan, taking the values from the resource database.
  4. 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).
  5. You run a daily planning REPLAN or EXTEND. There are no operations in the plan that reference TAPES.
  6. The TAPES resource remains in the plan, because you have set its availability.
  7. You issue the command:
    SRSTAT 'TAPES' SUBSYS(OPC1) AVAIL(RESET)
  8. HCL Workload Automation for Z resets the availability of TAPES to its default value.
  9. You run a daily planning REPLAN or EXTEND. There are no operations in the plan that reference TAPES.
  10. 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.