Chapter Contents

Previous

Next
UNIQUE

UNIQUE



Generates unique SAS names based on item names

Optional statement
Applies to: view descriptor


Syntax
Details

Syntax

UNIQUE|UN<=> YES|NO|Y|N;


Details

The UNIQUE statement specifies whether the SAS/ACCESS interface should generate unique SAS variable names for items for which SAS variable names or variable attributes have not been entered.

Use of the UNIQUE statement is affected by whether you specified the ASSIGN statement when creating the access descriptor on which this view is based.

If duplicate SAS variable names exist in the access descriptor on which you are creating a view descriptor, you can specify the UNIQUE statement to resolve the duplication. You specify the YES (or Y) value to have the SAS/ACCESS interface append numbers to any duplicate SAS variable names, thus making each variable name unique.

If you specify a NO (or N) value for the UNIQUE statement, the SAS/ACCESS interface continues to allow duplicate SAS variable names to exist. You must resolve these duplicate names before saving (and thereby creating) the view descriptor.

If you are running your SAS/ACCESS job in noninteractive or batch mode, it is recommended that you use the UNIQUE statement. If you do not and the SAS System encounters duplicate SAS variable names in a view descriptor, your job will fail.

UN is the alias for this statement.


Chapter Contents

Previous

Next

Top of Page

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