I copy the code from a paper that i found on internet.
proc fcmp outlib=work.funcs.Test;
function whatAmI();
return(42);
endsub;
quit;
options cmplib=work.funcs;
data _null_;
rci = whatAmI();
put rci=; /* should be 42 */
run;
When I execute the code, it show the message: ERROR 68-185: The function WHATAMI is unknown, or cannot be accessed.
I tried other functions and always show this message. I change the libname, but nothing work. What´s wrong?