ADR306E
(ttt)-mmmmm(yy), UNABLE TO {COPY | RESTORE} THE VOLUME BECAUSE OUTPUT VOLUME volume_serial_number IS IN USE. TASK IS TERMINATED

Explanation

A FULL volume COPY or RESTORE was attempted on the volume, but another job is using the volume. It is possible that another job is accessing a data set on the volume. The system can also issue this message during a data set COPY when INDD is specified. In this case, the VTOC on the volume was already enqueued.

System action

The task ends. The return code is 8.

Operator response

Mount the volume with USE=PRIVATE before rerunning the job.

Programmer response

Either code VOL=(PRIVATE,SER=xxxxxx) in the associated DD statement or request the operator to issue a mount command with the USE=PRIVATE subparameter to reduce the possibility of other jobs allocating (or accessing) the volume. In the case of data set COPY, remove the INDD keyword and rerun the job.

The volume could be in use because there might be a user catalog on it that is allocated to the catalog address space (CAS). For more information, see the z/OS DFSMSdss Storage Administration under “Restoring Volumes”, subheading of “Specifying Output Volumes.”

Source

DFSMSdss