CORE
mp_perflog.sas
Go to the documentation of this file.
1 
23 %macro mp_perflog(label,libds=work.mp_perflog);
24 
25  %if not (%mf_existds(&libds)) %then %do;
26  data &libds;
27  length sysjobid $10 label $256 dttm 8.;
28  format dttm datetime19.3;
29  call missing(of _all_);
30  stop;
31  run;
32  %end;
33 
34  proc sql;
35  insert into &libds
36  set sysjobid="&sysjobid"
37  ,label=symget('label')
38  ,dttm=%sysfunc(datetime());
39  quit;
40 
41 %put &=label;
42 %mend;