Copy a z/OS File to Tape on VM

This Process copies a disk file from a Connect:Direct® for z/OS® node to tape at the Connect:Direct for VM node. If the file exists, the IBM® Connect:Direct system replaces it. If the file does not exist, the IBM Connect:Direct system creates it as indicated by the DISP=RPL parameter.

TAPE    PROCESS      SNODE=CD.VM.NODE1         -
                     NOTIFY=USERID
STEP01  COPY  FROM  (DSN=CHELSEN.DATA.FILE     -
                     DISP=SHR)                 -
              TO    (DSN=TAPE.DATA.FILE        -
                     UNIT=TAPE                 -
                     LABEL=(1,SL,EXPDT=92067)  -
                     SNODE                     -
                     DISP=RPL)