Self-Purging Macros?

Friday, 6 April, 2012

⨳ 1 minute read ⨳ 44 words ⨳ sassas macro

unfortunately, this doesn’t work:

%macro test;
proc catalog cat=work.sasmacr;
    delete test.macro;
run;
quit;
%mend;
%test;

the log

ERROR: Entry lock is not available for TEST.MACRO in catalog WORK.SASMACR, lock held by DMS Process.

nuts.


Self-Purging Macros? - April 6, 2012 - Richard Koopmann