![]() Chapter Contents |
![]() Previous |
![]() Next |
| SAS Language Reference: Dictionary |
| Definition |
A SAS name is a name token that represents
There are two kinds of names in SAS:
| Rules for User-Supplied SAS Names |
Note:
The rules are more
flexible for SAS
variables names than for other language elements. See
Rules for SAS Variable Names.
| SASHELP | |
| SASMSG | |
| SASUSER | |
| WORK |
| _NULL_ | |
| _DATA_ | |
| _LAST_ |
| SASCAT |
SYS.
Variable name rules for Version 7 are as follows:
cat, Cat, and CAT all represent
the same variable.
![[cautend]](../common/images/cautend.gif)
![[cautend]](../common/images/cautend.gif)
Note:
If you use any characters other
the ones that are valid when VALIDVARNAME=V7 (letters, numeric digits, or
underscores), then you must express the variable name as a name literal and you must set VALIDVARNAME=ANY. See
SAS Name Literals. ![[cautend]](../common/images/cautend.gif)
cat, Cat, and CAT all represent
the same variable.
| SAS Name Literals |
Examples of SAS name literals are
libname foo SAS/ACCESS-engine-name SAS/ACCESS-engine-connection-options; data foo.'My Table'n;
input 'Amount Budgeted'n 'Amount Spent'n 'Amount Difference'n;
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.