Copy a File from Disk to Tape (OpenVMS)

The following example copies an OpenVMS file from disk to tape. Specifying the /OVERRIDE qualifier causes the name of the tape volume to be ignored. The /OVERRIDE qualifier can be added either to the MOUNT command or to the tape label parameter. The example shows the qualifier added to the parameter.

T1      PROCESS      SNODE=SC.VMS.JOEUSER  SNODEID=(JOEUSER,USER_PASSWORD)
STEP01  COPY  FROM  (DSN=DUXX:<DIRECTORY>TESTFILE.DAT)                      -
              TO    (DSN=MUXX:TESTFILE.DAT                                  -
                     SYSOPTS="MOUNT=’MUXX: TAPE /OVERRIDE=ID’ ")