f



Re: Empty SAS data file ...how #2

Hi Adnan,

you could also use:

data empty;
   stop;
run;

data _null_;
   if exist('work.empty') then do;
      dsid = open('work.empty');
      nobs = attrn(dsid,'nobs');
      call symput('nobs',put(nobs,best8.));
      dsid = close(dsid);
   end;
   call symput('exists',put(exist('work.empty'),best8.));
run;
%put _user_;

thanks and regards,

P.
0
9/18/2003 11:30:36 AM
comp.soft-sys.sas 142828 articles. 3 followers. Post Follow

0 Replies
347 Views

Similar Articles

[PageSpeed] 24

Reply: