Create the workdays data set. This data set defines the daily workshifts that are named in the calendar data set. Each variable -- not observation -- contains one daily schedule of alternating work and nonwork periods. The HALFDAY workshift lasts 4 hours.
data well.wor;
   input halfday time5.;
   datalines;
08:00
12:00
;