Features: |
|
data acts; input sta : date7. act $ 11-30 dur; datalines; 01JAN03 Start 0 31DEC03 Finish 0 ;
data holidays; input sta : date7. act $ 11-30 dur; datalines; 01JAN03 New Year's 1 30MAR03 Good Friday 1 28MAY03 Memorial Day 1 04JUL03 Independence Day 1 03SEP03 Labor Day 1 22NOV03 Thanksgiving 2 25DEC03 Christmas Break 5 ;
options formchar="|----|+|---+=|-/\<>*";
proc calendar data=acts holidata=holidays fill interval=workday;
start sta; dur dur;
holistart sta; holivar act; holidur dur;
title1 'Calendar of Holidays Only'; run;
data holidays; input sta : date7. act $ 11-30 dur; datalines; 01JAN03 New Year's 1 30MAR03 Good Friday 1 28MAY03 Memorial Day 1 04JUL03 Independence Day 1 03SEP03 Labor Day 1 22NOV03 Thanksgiving 2 25DEC03 Christmas Break 5 ;