CALENDAR Procedure

CALID Statement

Processes activities in groups defined by the values of a calendar identifier variable.
Supports: Summary and schedule calendars
Tip: Useful for producing multiple schedule calendars and for use with SAS/OR software.
See: Calendar Data Set
Schedule Calendar Containing Multiple Calendars

Multiple Schedule Calendars with Atypical Work Shifts (Separated Output)

Multiple Schedule Calendars with Atypical Work Shifts (Combined and Mixed Output)

Calculating a Schedule Based on Completion of Predecessor Tasks

Summary Calendar with MEAN Values by Observation

Multiple Summary Calendars with Atypical Work Shifts (Separated Output)

Syntax

Required Argument

variable
a character or numeric variable that identifies which calendar an observation contains data for.
Requirement:If you specify the CALID variable, then both the activities and holidays data sets must contain this variable. If either of these data sets does not contain the CALID variable, then a default calendar is used.
Interaction:SAS/OR software uses this variable to identify which calendar an observation contains data for.
Tip:You do not need to use a CALID statement to create this variable. You can include the default variable _CALID_ in the input data sets.

Optional Argument

OUTPUT=COMBINE|MIX|SEPARATE
controls the amount of space required to display output for multiple calendars.
COMBINE
produces one page for each month that contains activities and subdivides each day by the CALID value.
Restriction:The input data must be sorted by or indexed on the START variable.
MIX
produces one page for each month that contains activities and does not identify activities by the CALID value.
Restriction:The input data must be sorted by or indexed on the START variable.
Tip:MIX requires the least space for output.
SEPARATE
produces a separate page for each value of the CALID variable.
Restriction:The input data must be sorted by the CALID variable and then by the START variable or must contain an appropriate composite index.
Default:COMBINE