Friday, February 16, 2018

SAS: Directory separator character



SAS: Directory separator character


%* ------------------------------------ ;
%* Set Directory Separator Character    ;
%* ------------------------------------ ;
       
%if ( %upcase(&SYSSCP.) = WIN ) %then %do;
    %let WHICH_SLASH = \ ;
%end;

%else %do;
    %let WHICH_SLASH = / ;

%end;







Friday, February 9, 2018

SAS: Delete all work files without having to list them



SAS: Delete all work files without having to list them


proc datasets library=work kill nolist;
run;