Restarting from the point of failure
When you are making copies using multitasking, several copies might have been in progress at the time of termination. BMC AMI Copy detects which objects were in progress, what phase each was in at the time the initial execution ended, and then restart as needed.
Dynamic allocation of image copies
If you use dynamic allocation for your output data set, no modification to the job stream is required.
Allocation of image copies in the JCL
If you allocate data sets in the JCL, you must also do the following things:
- Use DISP=(MOD,CATLG,CATLG) or DISP=(NEW,KEEP,KEEP)
- Perform the following additional steps at restart:
- For stacked tape copies using GDGs, modify the data set names to indicate the generation relative to the restart by modifying the (+ n) value to (+ n- m), where m is the relative generation number for the last cataloged generation in the original execution.
For cataloged stacked tape copies, remove VOL=REF= from the copy data set DD statements for the COPY command that failed in the COPY phase. This tells the system to use the catalog for volume information.
Failure to remove VOL=REF= causes the restarted data set to get a 'not cataloged' message and causes a multiple volume data set to be on a different set of volumes than the original, cataloged data set. If the restarted copy data sets expand to more volumes than were cataloged at the time of the original execution, any attempt to stack further data sets using VOL=REF= results in another abend because the reference uses the catalog information from the beginning of the job step. The system will catalog the expanded data sets again at the end of the job step. However, submitting the job a third time should result in the utility executing with the volumes resolved correctly.
- For uncataloged stacked tape copies, you must include the VOL=SER information of completed copies in the DD statements before restarting, and you must change the NEW disposition to OLD.