The CALENDAR Procedure |
Alias: | VARIABLE |
VAR variable(s); |
Required Arguments |
specifies one or more variables that you want to display in the calendar.
Range: | The values of variable can be either character or numeric. |
Restriction: | These variables must be in the activities data set. |
Tip: | You can apply a format to this variable. |
Details |
If you do not use a VAR statement, then the procedure displays all variables in the activities data set in the order in which they occur in the data set, except for the BY, CALID, START, DUR, and FIN variables. However, not all variables are displayed if the LINESIZE= and PAGESIZE= settings do not allow enough space in the calendar.
PROC CALENDAR displays variables in the order that they appear in the VAR statement. Not all variables are displayed, however, if the LINESIZE= and PAGESIZE= settings do not allow enough space in the calendar.
PROC CALENDAR also displays any variable named in a SUM or MEAN statement for each activity in the calendar output, even if you do not name that variable in a VAR statement.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.