Previous Page | Next Page

The CALENDAR Procedure

CALID Statement


Processes activities in groups defined by the values of a calendar identifier variable.
Calendar type: Summary and schedule
Tip: Useful for producing multiple schedule calendars and for use with SAS/OR software.
See also: Calendar Data Set
Featured in: Schedule Calendar Containing Multiple Calendars, Multiple Schedule Calendars with Atypical Work Shifts (Separated Output), and Calculating a Schedule Based on Completion of Predecessor Tasks

CALID variable
</ OUTPUT=COMBINE|MIX|SEPARATE>;


Required Arguments

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.
See also: Calendar Data Set

Options

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.
Featured in: Schedule Calendar Containing Multiple Calendars and Multiple Schedule Calendars with Atypical Work Shifts (Combined and Mixed Output)
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.
Featured in: Multiple Schedule Calendars with Atypical Work Shifts (Combined and Mixed 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.
Featured in: Multiple Schedule Calendars with Atypical Work Shifts (Separated Output) and Multiple Summary Calendars with Atypical Work Shifts (Separated Output)
Default: COMBINE

Previous Page | Next Page | Top of Page