A lot of times when I am working with interactive SAS, I find myself staring at a SAS date that has not been formatted. The quickest way to see the actual date was to go to my "scratch" enhanced editor and write a quick data _null_ to put it to the log. That was before I realized that macros can be invoked from the command line.
%macro date(d);
%let r = %sysfunc( putN(&d,mmddyy10.) );
%put &r;
%mend date;
Now I just put this little guy into my autoexec, and voila! a full 40 seconds of my life saved!
Speaking of saving time, did you know that you can follow my job site on twitter? If you had, you would have seen the newest posting for a SAS BI Developer needed in Maryland $120K/yr.
Just go to www.sasCoders.com and click the twitter button underneath the banner.
No comments:
Post a Comment