Copy a z/OS PDS to a Set of Files on VM

The COPY statement in this example copies a PDS, excluding all members with names beginning with the characters DM, to files on VM with file names corresponding to the member names on z/OS. The file type is ACCTDATA.

STEP01  COPY  FROM (DSN=OS390.PDS.ACCT     -
                    DISP=SHR               -
                    EXCLUDE=(DM*)          -
                    UNIT=SYSDA)            -
              TO   (DSN=’* ACCTDATA’       -
                    LINK=(PEI,WPEI,W,300)  -
                    DISP=(RPL))