As the first step in the decommissioning of sasCommunity.org the site has been converted to read-only mode.
Here are some tips for How to share your SAS knowledge with your professional network.
Issues with using PUT and width specifications
An extremely interesting point was brought up by Chang Chung about the length of the variable when it is used with a put function.
/* center a char vars with -c format modifier */ data one; /* ----+----1- */ var = " x"; centered = put(var, $10.-c); run; /* check */ proc print data=one; run; /* on lst -- surprise, just blanks! Obs var centered 1 x /*
--Murphy Choy From Singapore 01:39, 25 January 2011 (UTC)