Copy a VM CMS Disk File to a z/OS Node

This Process copies a CMS Disk file from a VM/ESA node to a disk on a Connect:Direct® for z/OS® node. If the file exists, IBM® Connect:Direct replaces it. If the file does not exist, IBM Connect:Direct creates it as indicated by the DISP parameter.

VMTOZOS  PROCESS      SNODE=CD.OS390.NODEX         -
                      NOTIFY=USERID
STEP01   COPY  FROM  (DSN=’VMCMS FILE’             -
                      LINK=(USER1,RPASWWD,RR,191)  -
                      DISP=SHR                     -
                      PNODE)                       -
               TO    (DSN=HLQ.VMTEST.FILE          -
                      UNIT=SYSDA                   -
                      DISP=RPL                     -
                      SNODE)