Refreshing the long-term plan
HCL Workload Automation for Z has
a safeguard against changing plans after they are used. After an occurrence
in the long-term plan has been scheduled in a current plan (CP), you
cannot change it in the long-term plan, nor can you schedule it a
second time in a current plan. There might be times, however, when
you need to bypass this safeguard. The refresh function is
provided for this purpose.
Note: Use the refresh function only when
you have no other alternative because your current plan will be deleted.
You might have a situation in which you want to delete the current
plan and produce a new current plan for the current period, using
a new version of the long-term plan. To do this, you must go through
a complete replanning cycle, including producing a new long-term plan
and current plan. To do this, first run a refresh, which:
- Makes already scheduled occurrences available to both long-term and daily planning.
- Deletes the current plan so that you can make a new current plan.
If you want completely new plans, follow the refresh function with a CREATE of the long-term plan and then a daily planning EXTEND. The create long-term plan function is necessary only if the old long-term plan is no longer valid.
If an LTP re-creation is needed (to re-create a
long-term plan) after scratching the current plan, the user must also
keep the LTP related data set (LB, LD) content in synch with LT. A
plan that runs processing normally scheduled for a future or past
day of processing can be created. This procedure effectively re-creates
any specified day of processing. The following procedure can be used
if a day of processing was lost due to an emergency:
- CP refresh (dialog option 9.5)
- Create LTP with the date you want
- CP extend for the date you want
- Run jobs needed on the date you want
- CP refresh
- Create LTP for normal date
- CP extend for normal date