PROC FCMP returns "ERROR: The product with which the function/subroutine is associated is either not licensed. . .or the product license has expired"


After you submit an FCMP procedure, you see the following error in the SAS® log:

ERROR: The product with which the function/subroutine is associated is either not licensed for your system or the product license has expired. Please contact your SAS installation representative.

The procedure completes successfully. However, the error is appearing because a user-defined function name starts with the letters CONVE.

The following example shows code that can generate this error:

options cmplib=(work.funcs);
proc fcmp outlib=work.funcs.abc;
  function Convertday (test $);
  new=input(test,3.);
return (new);
endsub;
quit;

The workaround is to not create a user-defined function name in PROC FCMP that starts with the letters CONVE.