Resolution of a Unique Member Name by Appending a Digit

This example assumes that HLQ.PDS already contains the members DATA, DATA1, DATA2, and DATA11. Because the member name in the example, DATA, already exists on the z/OS TO node, a different member name will have to be created. The AXUNIQ exit, invoked by SYSOPTS=“UNIQUE=YES” does this for you by adding numeric digits to the specified member name until a unique member name is achieved.

COPY  FROM  (DSN=\app101\data)                        -
      TO    (DSN=HLQ.PDS(DATA) SYSOPTS="UNIQUE=YES")

IBM® Connect:Direct® resolves the member name to DATA3.