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 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 3429 views
  • 0 likes
  • 2 in conversation