UNIQUE = Statement

Generates unique SAS names based on item names.

Type: Optional statement
Alias: UN
Applies to: view descriptor

Syntax

UNIQUE | UN = Y | N;

Details

The UNIQUE= statement specifies whether unique SAS variable names should be generated for items. The UNIQUE= statement can be used only when creating a view descriptor.
The default value, N, enables you to enter duplicate SAS variable names. You must resolve these duplicate names before you create view descriptors based on the access descriptor.
If you specify a value of Y and duplicate SAS variable names exist, numbers are appended to any SAS names that are duplicated as the result of truncation. For example, if you enter a value of Y for the UNIQUE= statement, two instances of the item ADDRESS would be changed to ADDRESS and ADDRESS0.
Note: If you specified a value of Y for the ASSIGN= statement when you created the access descriptor on which this view descriptor is based, you cannot specify a UNIQUE= statement.