Create the holidays data set and identify which calendar a nonwork day belongs to. The two holidays are listed twice, once for the professor's calendar and once for the student's. Because each person is associated with a separate calendar, PROC CPM can apply the personal vacation days to the appropriate calendars.
data nowork; format holista date7. holifin date7.; input holista : date7. holifin : date7. name $ 17-32 _cal_ $; datalines; 04jul96 04jul96 Independence Day Prof. 02sep96 02sep96 Labor Day Prof. 04jul96 04jul96 Independence Day Student 02sep96 02sep96 Labor Day Student 15jul96 16jul96 PROF Vacation Prof. 15aug96 16aug96 STUDENT Vacation Student ;