BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

I did a proc freq and had HTML output selected as an option. My columns are narrow and some text is getting cut off. How do I widen the columns?

Thank you.
3 REPLIES 3
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Please share your SAS code (ODS and PROC FREQ related statements, at a minimum).

Scott Barry
SBBWorks, Inc.
Cynthia_sas
Diamond | Level 26
Hi:
I'm not sure what you mean by column length or width. When I run the program below, my column widths show the full variable values.

It is possible that you are experiencing some other issue with PROC FREQ that is unrelated to ODS:
http://support.sas.com/kb/2/957.html
http://support.sas.com/kb/15/430.html
http://support.sas.com/kb/16/221.html

If none of the above issues describes your scenario, then your best bet is to contact Tech Support for more help.

cynthia

[pre]
data class;
set sashelp.class;
if age lt 15 then grp = 'supercalifragilisticexpealidocious10';
else grp = 'abcdefghijklmnopqrstuvwxyz0123456789';
run;

ods html file='c:\temp\longvar.html' style=sasweb;
proc freq data=class;
tables grp;
tables grp * age;
title 'long variable values';
run;
ods html close;
[/pre]
deleted_user
Not applicable
Thanks very much! Message was edited by: jcis

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 1170 views
  • 0 likes
  • 3 in conversation