Chapter Contents

Previous

Next
The CALENDAR Procedure

CALID Statement


Processes activities in groups defined by the values of a calendar identifier variable.

Calendar: both
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 Workshifts (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, both the activities and holidays datasets must contain this variable. If either of them does not contain it, 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 Workshifts (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 Workshifts (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 Workshifts (Separated Output) and Multiple Summary Calendars with Atypical Workshifts (Separated Output)

Default: COMBINE


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.