Copy a SAM File (z/OS to z/OS)

The following Process copies a SAM file from CD.DALLAS to a new file located at another site, CD.CHICAGO. The receiving node allocates the file using the same file attributes as the source data set because no file information is supplied. Both checkpointing and compression are requested within the Process. The submitting user is notified when the Process completes.

COPYSEQ PROCESS    PNODE=CD.DALLAS  NOTIFY=%USER  -
                   SNODE=CD.CHICAGO
STEP01  COPY FROM (DSN=DAL.PSDATA)                -
                   CKPT=10M                       -
                   DISP=SHR                       -
                   COMPRESS                       -
             TO   (DSN=CHI.PSDATA)                -
                   DISP=RPL