You can use variable lists in many SAS statements when specifying or creating variables. You can specify any of the variables in the current DATA step, as well as variables in the data sets or external files that the DATA step reads. |
To specify these variables | |
a numbered range of variables | VAR1-VARn |
all numeric | _NUMERIC_ |
all character | _CHARACTER_ |
all variables | _ALL_ |
A Numbered Range of Variables
qtr1 qtr2 qtr3 qtr4 qtr1-qtr4
amount rate term _NUMERIC_ This special SAS name list specifies all numeric variables already defined in the current DATA step.
firstname lastname address _CHARACTER_ This special SAS name list specifies all character variables already defined in the current DATA step.
firstname lastname address amount rate term _ALL_ This special SAS name list specifies all variables already defined in the current DATA step.
|
Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.