Tuesday, February 19, 2013

SAS: Getting to know the data

Next time I have to familiarize myself with a crap load of client data for a new project, I am going to do something like this...

libname desktop "C:\Users\Owner\Desktop";
proc contents data=desktop._all_ out=Work.Contents noprint;
run;

data Work.Contents
 (keep = Libname Memname Name Type Length Format);
set Work.Contents;
run;


...and export the results to Excel so I can filter easily.



No comments:

Post a Comment