BookmarkSubscribeRSS Feed

This function exists in SCL but not in the Base language. We need to to able to do this:

 

data _null_;
  if exist('TABLE') then RC=delete('TABLE');
run;

 

 

 

1 Comment
ChrisNZ
Tourmaline | Level 20

Before someone mentions it, this is an alternative, but really, the delete function is missing.

 

data TABLE; 
run;
data _null_;
  RC=exist('TABLE'); putlog RC=;
  RC= dosubl('proc delete data=TABLE; run;');
  RC=exist('TABLE'); putlog RC=;
run;