All Posts

Programming Tips
Chris Hemedinger 0
Mmm, dogfood

Here at SAS, we eat our own dogfood*. Actually, that's an understatement -- it's better to say that we feast on it. I've been using SAS 9.2 (released earlier this year) and SAS Enterprise Guide 4.2 (not yet released) for many months (years, actually) to accomplish several tasks, including to

Advanced Analytics | Data Visualization
Angela Hall 0
Grabbing the Data Creation Date

The data table creation date is sometimes necessary, say in the footnote of your stored process. Included below is a sample to retrieve this date from the file system. /*Open the dataset*/ %let dsid=%sysfunc(open(sashelp.shoes)); data _null_; /*grab the CRDTE function*/ ddate=%sysfunc(attrn(&dsid;,CRDTE )); /*Format in DDMONYY*/ call symput('ddate', put(ddate, dtdate9.)); run;

1 731 732 733 734