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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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