Macros for SAS Application Developers
https://github.com/sasjs/core
mf_getuniquefileref.test.sas File Reference

Testing mf_getuniquefileref macro. More...

Go to the source code of this file.

Detailed Description

To test performance you can also use the following macro:

%macro x(prefix);
%let now=%sysfunc(datetime());
%do x=1 %to 1000;
  %let rc=%mf_getuniquefileref(prefix=&prefix);
%end;
%put %sysevalf(%sysfunc(datetime())-&now);
%mend;
%x(_)
%x(0)

SAS Macros

Definition in file mf_getuniquefileref.test.sas.