Create and Copy a VSAM Linear Data Set (z/OS to z/OS)

This COPY statement transmits a VSAM LINEAR file to a new VSAM LINEAR file at another site. The RECORG parameter specifies that the target VSAM data set is a LINEAR file.

COPY  FROM  (DSN=VSAM.LINEAR.SOURCE)  -
      TO    (DSN=VSAM.LINEAR.DEST     -
             DISP=(NEW,CATLG)         -
             RECORG=LS                -
             STORCLAS=SCLASS1         -
             MGMTCLAS=MCLASS1)