When running below code more than once in a session I'm getting a warning that I can't suppress.
proc fcmp outlib=work.funcs.demo;
function demo(in);
out=in+1;
return (out);
endsub;
run;
option CMPLIB=work.funcs;
data _null_;
xx=demo(5);
run;
WARNING: Function 'demo' was defined in a previous package. Function 'demo' as defined in the current program will be used as
default when the package is not specified.
What I would like as an extension to PROC FCMP are two new options:
NOWARN: Suppress above warning and write a NOTE instead.
NOREPLACE: To not replace the already compiled function. Write a NOTE that the function already exists and won't be replaced.