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

This COPY statement shows how to exclude members generically. In this example, all members are copied, except members with names beginning with ABC.

COPY  FROM  (DSN=PDS.SOURCE  -
             EXCLUDE=ABC*)   -
      TO    (DSN=PDS.DEST)