Would you like to format your macro variables? Easy! Just use the %FORMAT function, like this: What?! You never heard of the %FORMAT function? Of course not, cuz it doesn't exist! No problem. Just create it, like this: %macro format(value,format); %if %datatyp(&value)=CHAR %then %sysfunc(putc(&value,&format)); %else %left(%qsysfunc(putn(&value,&format))); %mend format; The %FORMAT
Uncategorized
How to format a macro variable
The perils of self-service data preparation tools
Phil Simon chimes in on the tendency to rely upon these tools too much.
SAS at the 2017 INFORMS Annual Meeting
SAS will be represented by more than 20 attendees at the INFORMS Annual Meeting at the George R. Brown Convention Center (GBCC) in Houston, Texas. Officially the conference runs from Sunday, Oct. 22 through Wednesday, Oct. 25, but our activities in Houston start even earlier. Technology Workshops on Saturday, October