Chapter Contents |
Previous |
Next |
ASSIGN |
Optional statement | |
Applies to: | access descriptor |
Syntax | |
Details |
Syntax |
ASSIGN | AN <=> YES | NO | Y | N; |
Details |
The ASSIGN statement specifies whether view descriptors will inherit the SAS column names and formats assigned in the parent access descriptor at the time that the access descriptor was created, or whether the column names and formats can be selected in the view descriptor.
If you specify ASSIGN=YES, then default SAS column names and formats are generated for all CA-DATACOM/DB field names and these names and formats will be used in all derived view descriptors. You can edit the default column names and formats in the access descriptor with the RENAME, FORMAT, INFORMAT, and CONTENT statements, but you cannot edit them in the view descriptor.
If ASSIGN=NO, the default value, default names are not generated and any SAS column names assigned in the access descriptor can be edited in the view descriptor. If you do not specify any column names in the access descriptor, then fields selected in the view descriptor will use default SAS column names and formats, unless you edit them with the RENAME, FORMAT, INFORMAT, and CONTENT statements.
Default SAS column names follow these rules:
The generated names are not listed in the LIST statement output.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.