TAPEEOV command

The purpose of the TAPEEOV command is to provide a means to create multi-volume data sets. The TAPEEOV command must be entered before the mount of the current volume ends. A typical sequence of commands to create a multi-volume data set might look something like:

TAPEMNT DSN USERA.FILE1 SCR

When this mount completes, a request number will be associated with the mount request. For this example, let's assume that the request number for the completed mount is 000222. The request number is returned in the EUM0072I message and it is also available in the information returned by TAPEREQ QRY.

Before detaching the device associated with the request (leading to the completion of the request), the TAPEEOV command is issued to extend the data set to another volume:

TAPEEOV DSN USERA.FILE1 PREREQ 222

This informs Tape Manager that the data set will be extended:

DET 181

This will complete request 222 when the device is returned:

TAPEMNT DSN USERA.FILE1 PREREQ 222

The next scratch volume will be mounted and it will extend the volume list associated with USERA.FILE1. Additional TAPEEOV, DET, TAPEMNT sequences can be completed to continue the extension of the data set to additional volumes, up to a maximum of eight volumes per data set.

Note that the PREREQ number must continue to be 222 regardless of the request numbers of the additional TAPEMNT commands. To extend the data set to a third volume, the commands are:

TAPEEOV DSN.USERA.FILE1 PREREQ 222
DET 181
TAPEMNT DSN.USERA.FILE1 PREREQ 222

A similar sequence could be used to mount and read a multi-volume data set, the difference being that SCR would not be specified on the initial TAPEMNT command.