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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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