Copy a VM VSAM file to z/OS

This Process copies a VSAM Disk from a VM/ESA node to a sequential disk file on a 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.

VSMtozOS  PROCESS  SNODE=CD.OS390.NDOEY
          COPY  FROM  (DSN=MYNAME.TESTFILE.VESDS.FB80S               -
                       LINK=(VSAMDSK,RPASWD,,RR,195)                 -
                       DCB=(DSORG=VSAM,LRECL=80)                     -
                       DISP=SHR                                      -
                       PNODE)                                        -
                TO    (DSN=HLQ.VSAMTST.FILE                          -
                       UNIT=SYSDA                                    -
                       DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=3120) -
                       DISP=RPL                                      -
                       SNODE)