02-13-2013 05:20 PM
I feel dumb asking this and I warn you I am new to SAS. My column name in the output window is displayed in multiple lines
How do I make my program format it so that the column name is all in one line like this: Percent_Increase. I would like to do this for all my column names eventually.
Many thanks in advance.
02-13-2013 05:29 PM
What are you using the output in the window for?
You should always output to some other destination (RTF, PDF, HTML) and use that instead...in my opinion.
02-13-2013 05:33 PM
Well right now just to view the data but will eventually export to an excel file.. I suppose it won't matter then because I am assuming it will place the column header all in one line?
Right now I am using a proc print procedure to display my data.
02-13-2013 07:06 PM
Also for proc print you can explicitly control the output column widths in ODS destinations (not the output widow).
proc print data=mydataset noobs label;
var firstvar / style=[cellwidth= 1.2in];
var secondvar / style=[cellwidth= .75in];
And make the cell widths either long enough for you labels to fit one row or to wrap comfortably.
Need further help from the community? Please ask a new question.