BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
SHAVW
Calcite | Level 5

I am trying to output the results from proc means using ODS PDF. The variable labels sometimes take up two lines, while the numeric output only takes one line causing the data to not be lined up. How do I output the results in a readable format with the data lined up with the variable label?

1 ACCEPTED SOLUTION

Accepted Solutions
SHAVW
Calcite | Level 5
What ended up working for me was adding stackodsoutput to the proc means options. This designated one line per variable listed in the output.

View solution in original post

3 REPLIES 3
RichardDeVen
Barite | Level 11

Can you attach some sample code, sample output or screen shot from PDF reader ?

ballardw
Super User

If appearance is an issue depending on which statistics you are requesting from Proc Means then you might consider using Proc Report or Tabulate where there are more appearance controls.

Or create a data set from the Proc Means output and use another procedure such a Proc Print or Report with appearance control options.

 

An possibly using shorter labels.

SHAVW
Calcite | Level 5
What ended up working for me was adding stackodsoutput to the proc means options. This designated one line per variable listed in the output.

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 398 views
  • 0 likes
  • 3 in conversation