Copy an OpenVMS File from Disk to Tape

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  (FILE=DUXX:[DIRECTORY]TESTFILE.DAT)                    -
              TO    (FILE=MUXX:TESTFILE.DAT                                -
                     SYSOPTS="MOUNT=’MUXX: TAPE /OVERRIDE=ID’ ")