See: The FCMP procedure enables users to create, test, and store SAS functions and subroutines for use by other SAS procedures. For complete information about PROC FCMP, see the Base SAS Community at http://support.sas.com/documentation/onlinedoc/base .