Create the calendar data set. Each observation defines the work shifts for an entire week. The _CAL_ variable identifies to which calendar the work shifts apply. CAL1 uses the default 8-hour work shifts for Monday through Friday. CAL2 uses a half day on Saturday and the default 8-hour work shift for Monday through Friday.
data well.cal; input _sun_ $ _sat_ $ _mon_ $ _tue_ $ _wed_ $ _thu_ $ _fri_ $ _cal_ $; datalines; Holiday Holiday Workday Workday Workday Workday Workday CAL1 Holiday Halfday Workday Workday Workday Workday Workday CAL2 ;