Hi,
I am trying to see how changing the width of a column in PROC print reflects in the output(window, HTML and PDF). I am using the SAS University Edition.
Should not specifying width=2 should limit the column width as 2 ? Against the column width specified as 2 , the column name is written as "customer region" which is greater than column width specified as 2.
Below is the code:
Output in Results window:
HTML output downloded:
PDF output downloaded:
No. width=2 is only for LISTING ,not HTML destination.
...............
define region/group style={cellwidth=1 cm};
Appreciate your response and help on this. But I am getting the same result:
updated code:
Pay attention, in all your outputs the customer region is leading zeros suppressed, there fore you got the region as one digit.
If you meant by width=2 to get the region as two digits, you should define its format as z2.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
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.
Ready to level-up your skills? Choose your own adventure.