BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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,
2 REPLIES 2
deleted_user
Not applicable
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.
deleted_user
Not applicable
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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1003 views
  • 0 likes
  • 1 in conversation