Help using Base SAS procedures

proc calendar in 9.2

Reply
N/A
Posts: 0

proc calendar in 9.2

Hi, I am moving a system to 9.2. In 8.2 the code calls proc calendar, the report prints with 7 lines vertically in each day. In SAS 9.2 the same code prints as few as 4 lines. I can get more lines to print by messing with the pagesize, (From 50 to 60 gets more vertical lines.) I tried adding Missing, I've looked for another option to help.


Anyone have an idea? I get the message some activities are obscured.

PROC CALENDAR SCHEDULE FILL HEADER=SMALL DATA=FINALCAL ;
ID ESTSTART;
VAR DESCRIPT NPROJ INITIAL;
DUR ESTDAYS;
TITLE 'SCHEDULE CALENDAR ';
RUN;

Thanks,
N/A
Posts: 0

Re: proc calendar in 9.2

If you were to choose 3 or 4 words from the EXACT log message you get about the obscured activities, you may find something more specific by searching support.sas.com.

However, the documentation is fairly clear in example 1 about adjusting the LINESIZE and PAGESIZE options, to get the procedure output to format correctly.

8.2 may not have needed this intervention, but 9.2 will introduce some compatibility issues in your code. If this is a real concern, Tech Support will have a knowledge base about migration issues and may have other suggestions to make.
N/A
Posts: 0

Re: proc calendar in 9.2

Update:
Thanks for the note about the documentation. I noted two things to get this correct finally.

1) SAS technical support suggested using linesize=180. This finally gave me the wider output I was looking for. (The documentation example has ls=132. I was up to ls=150 without seeing any difference in the output.)

2) I am using ODS PRINTER in my job, and to get the pagesize option to apply correctly I had to change the options AFTER I opened the ODS PRINTER destination.

I hope this helps

Thanks,

Gfrey
Ask a Question
Discussion stats
  • 2 replies
  • 130 views
  • 0 likes
  • 1 in conversation