Resolution of a Unique Member Name by Truncating and Appending a Digit

This example assumes that HLQ.PDS already contains the member DATEABLE. Because the member name in the example, DATAFILE, already exists on the z/OS TO node, a different member name will have to be specified. The AXUNIQ exit, invoked by SYSOPTS=“UNIQUE=YES”, does this for you by dropping the rightmost byte and adding a numeric digit to the specified member name until a unique member name is achieved.

COPY  FROM  (DSN=\app101\data)                            -

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