data months;
do i=1 to 4;
month=intnx('month',today(),i,'b');
output;
end;
format month yymm7.;
run;
This is what I see in viewtable in SAS 9.4M5 Windows 10. The column for MONTH is too narrow. Yes, I can manually expand the column to see the values of the data, but this gets tiresome after having to do this all the time (and my real data has several month columns). So, how do I fix this programmatically so that viewtable will make the column wide enough?
Did you try using a different font? Not sure what setting impacts ViewTable, but there are font setting options in Display Manager. Tools -> Options -> Font...
Any explanation why viewtable works with YYMM9. but not YYMM7. ?
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.