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. ?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: