Chapter Contents

Previous

Next
ASSIGN= | AN=

ASSIGN= | AN=



Generates SAS names and formats that are based on item names and DB Formats

Optional statement
Applies to: access descriptor


Syntax
Details

Syntax

ASSIGN| AN=Y | N;


Details

The ASSIGN= statement causes view descriptors to inherit the SAS variable names and formats of the parent access descriptor at the time that the descriptor is created. That is, if ASSIGN=Y, the variable names generated for the access descriptor will be used in all derived view descriptors, regardless of the naming conventions used.

If ASSIGN=N, which is the default value, you specify the SAS variable names and formats when you create a view descriptor from this access descriptor. The naming conventions used by the view descriptors are determined by examining the VALIDVARNAME SAS System option. The VALIDVARNAME SAS System option lets users specify what naming conventions will be allowed in a SAS session, either Version 6, Version 7, or a Version 7 option, and enforces them by converting variable names that do not conform to the necessary format. For more information on the VALIDVARNAME SAS System option, see Overview of Using the Interface and SAS Language Reference: Dictionary.

If you enter a value of Y for this statement, you cannot specify the RENAME, FORMAT, and UN= statements when creating view descriptors that are based on this access descriptor.

When a new CREATE statement is entered, the ASSIGN= statement is reset to the default value, N.


Chapter Contents

Previous

Next

Top of Page

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