space
Previous Page | Next Page

ACCESS Procedure Reference

ASSIGN= Statement



Generates SAS names and formats that are based on item names and DB Formats.
Optional statement
Applies to: access descriptor

Syntax
Details

Syntax

ASSIGN=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 option. The VALIDVARNAME SAS option lets users specify what naming conventions will be used in a SAS session, and enforces them by converting variable names that do not conform to the necessary format. For more information about the VALIDVARNAME system option, see Using the SAS/ACCESS Interface to IMS 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.

AN= is a valid alias for this statement.

space
Previous Page | Next Page | Top of Page