Restarting an online utility
If a utility finishes abnormally, you might be able to restart it. You need only resubmit the job and Db2 attempts to restart it. However, you might need or choose to make other changes before you resubmit the job.
About this task
Utilities can be restarted with one of the following two methods:
- Phase restart
- The utility restarts from the beginning of the phase that was being processed. This method is indicated by the parameter RESTART(PHASE).
- Current restart
- The utility restarts from the last checkpoint that was taken during the execution of the utility phase. If the utility phase does not take any checkpoints or has not reached the first checkpoint, current restart is equivalent to phase restart. This method is indicated by the parameter RESTART or RESTART(CURRENT).
Restarting a utility job is not always possible. If you cannot restart a utility job, you might have to terminate it to make the data available to other applications. To terminate a utility job, issue the Db2 TERM UTILITY command. For more information, see Terminating an online utility.
Important: In data sharing release
coexistence, you must restart a utility on a member on the same Db2 release as the member where the utility job was
originally submitted. The same utility ID (UID) must be used to restart the utility. That UID is
unique within a data sharing group. However, if Db2 fails, you must restart Db2 on either the same or another z/OS® system before you restart the utility.
Procedure
To restart an online utility: