Requested a restart of a Batch Processor for Db2 for z/OS (RBP) script with .RESTART OVERRIDE and expected previously allocated datasets to be deleted but they were not deleted.
The .RESTART command allows the execution of a RBP process to restart at a specific system point as defined by the Batch Processor SYSTEM command or after the last valid sync point.
The command has the following syntax:
.RESTART {OVERRIDE [DELETE] | [SYNC [ number ] [DELETE] | [SYSTEM(name,name,name,...)]}
OVERRIDE
- Begins processing at the beginning of the data set.
DELETE
- Deletes the work data sets using IDCAMS and attempts to allocate them as NEW when a data set with a disposition of NEW is found in the CA Batch Processor job stream.
- This parameter is valid only after the OVERRIDE parameter, the SYNC parameter, or a number as follows:
.RESTART OVERRIDE DELETE......................................restarts from the very start of the script regardless of what has happened before and deletes work datasets allocated previously.
.RESTART SYNC DELETE...............................................restarts at the last registered restart sync point found in the restart table and deletes work datasets allocated previously.
.RESTART SYNC 5 DELETE............................................restarts at SYNC point number 5 and deletes work datasets allocated previously.