Chapter Contents

Previous

Next
UNIQUE | UN=

UNIQUE | UN=



Generates unique SAS names based on item names

Optional statement
Applies to: view descriptor


Syntax
Details

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, allows 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.  [cautionend]


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.