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
SAS Super FREQ
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

sas-innovate-2024.png

Today is the last day to save with the early bird rate! Register today for just $695 - $100 off the standard rate.

 

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

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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