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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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