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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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