Examples of how to code the TAPEREPL command
The following examples present different ways to code the TAPEREPL command.
Note: Any values specified here are only examples and should
not be interpreted as the values to be used for your system.
Specifying replacement of a damaged tape
The following example illustrates how to replace a damaged tape
by its alternate, which is identified in the OCDS TTOC record for
the damaged tape:
TAPEREPL ORIGINALVOLUMES(HB0123)
Specifying replacement of a set of tape volumes
The following example illustrates how to replace more than one
original tape volume with respective alternate volumes:
TAPEREPL ORIGINALVOLUMES(JHG191,JHG195,JHG198) +
ALTERNATEVOLUMES(DBK001,DBK005,DBK008)
Specifying replacement of a list of original volumes
This example illustrates the use of a data set containing a list
of volumes to process.
TAPEREPL INDATASET(G737495.VOLIST.DATA)