Hi all, I have been trying to create a calendar-style report - when I've seen examples using proc calendar, the output is very 80s like, using only ANSI characters. But there must be a way to create a calendar report with a properly formatted grid and more up-to-date style, right? I've found code that just creates the calendar, but don't know how to incorporate the dataset into this, as I am still pretty new to SAS: Data Calendar; Array Days(7) Sun Mon Tue Wed Thu Fri Sat (7*.); Format Sun Mon Tue Wed Thu Fri Sat Date Date5.; Drop Date X; Do Date = '01Jan2013'D to '31Mar2013'D by 1; Days(WeekDay(Date)) = Date; /*Quarter = Put(Date,YYQ6.);*/ If WeekDay(Date) = 7 Then Do; Output; Do X=1 to Dim(Days); Days(X)=.; End; End; If Month(Date) NE Month(Date+1)Then Do; Output; Do X=1 to Dim(Days); Days(X)=.; End; End; End; If NMiss(Sun,Mon,Tue,Wed,Thu,Fri,Sat) < 7 Then Output; Proc Print; Title1 'Calendar Data Step Output'; Run; This displays what's in the attachment. Would I be able to do this using PROC Tabulate (or similar) and use NOOBS to hide the observation numbers?
... View more