Copy a PDS and Generically Selecting Members (z/OS to z/OS)

This COPY statement shows how to select generically all member names starting with PAID (the first four characters of the data set names). The remaining members of PDS.SOURCE are not copied.

COPY  FROM  (DSN=PDS.SOURCE   -
             SELECT=(PAID*))  -
      TO    (DSN=PDS.DEST)