Macros for SAS Application Developers
https://github.com/sasjs/core
Loading...
Searching...
No Matches
ms_deletefile.sas File Reference

Deletes a file from SASjs Drive. More...

Go to the source code of this file.

Detailed Description

Deletes a file from SASjs Drive, if it exists.

Example:

filename stpcode temp;
data _null_;
  file stpcode;
  put '%put hello world;';
run;
%ms_createfile(/some/stored/program.sas, inref=stpcode)

%ms_deletefile(/some/stored/program.sas)
Parameters
[in]drivelocThe full path to the file in SASjs Drive
[in]mdebug=(0) Set to 1 to enable DEBUG messages

SAS Macros

Definition in file ms_deletefile.sas.