/*
You also could try copy dataset.
If it was corrupted,you would see an error info in log.
*/
%let path= c:\temp ;
options validvarname=any validmemname=extend nofmterr ;
filename x pipe %sysfunc(quote(dir "&path.\*.sas7bdat" /s /b));
data _null_;
infile x length=len;
input path $varying200. len;
call execute(catt("options obs=1;data x;set '",path,"';run;"));
run;
options obs=max;
Ready to join fellow brilliant minds for the SAS Hackathon?
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.