BookmarkSubscribeRSS Feed
veblen
Calcite | Level 5
Is there a way to increase the number of characters printing (displayed) for a PRO FREQ table?

It appears that the column width is defined by the number of characters in "frequency."

My labels are over the 9-spaces provided and I want all of the VAR labels to be printed.

Thanks.
4 REPLIES 4
SPR
Quartz | Level 8 SPR
Quartz | Level 8
Hello Veblen,

You can output a frequency table into a dataset and then print it with any desired format:
[pre]
proc freq data=sashelp.class noprint;
tables age /out=freq;
run;
[/pre]
Sincerely,
SPR
veblen
Calcite | Level 5
Wonderful SPR!!!

Thank you very much!!!
veblen
Calcite | Level 5
Unfortunately, the table produced via the data step still have the truncated variable labels.

Any more ideas?
SPR
Quartz | Level 8 SPR
Quartz | Level 8
Could you please give an example of your data. I printed freq from my code:
[pre]
proc print data=freq label;
var Count;
run;
[/pre]
Variable Count has label "Frequency Count" and it is printed without truncation.

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 ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 4 replies
  • 3066 views
  • 0 likes
  • 2 in conversation