1
0
mirror of https://github.com/sasjs/core.git synced 2026-01-05 00:20:05 +00:00

fix: checking for existence of stpsrv_header function before creating it in mcf_stpsrv_header (sasjs/server feature)

This commit is contained in:
Allan Bowe
2021-12-05 11:09:47 +00:00
parent cb2a8db087
commit 80acecd3e6
2 changed files with 180 additions and 0 deletions

View File

@@ -54,6 +54,9 @@
@param [out] pkg= (utils) The output package in which to create the function.
Uses a 3 part format: libref.catalog.package
<h4> SAS Macros </h4>
@li mf_existfunction.sas
**/
%macro mcf_stpsrv_header(wrap=NO
@@ -63,6 +66,8 @@
,pkg=UTILS
)/*/STORE SOURCE*/;
%if %mf_existfunction(stpsrv_header)=1 %then %return;
%if &wrap=YES %then %do;
proc fcmp outcat=&lib..&cat..&pkg;
%end;