Published on :
Utility EXTERNE

Viewing FCMP Function Libraries

This code is also available in: Deutsch Español Français
Attention : This code requires administrator privileges.
The script begins by configuring the 'cmplib' system option to include the 'advrpt.functions' function library. Then, the PROC FCMP procedure is invoked with the 'INLIB' option to specify the same library and the 'LISTALL' option to display all functions and subroutines defined in this library. This is a useful diagnostic tool for inspecting available custom functions.
Data Analysis

Type : EXTERNE


The script does not use SASHELP data or internal dataset creation. It interacts with the FCMP function library 'advrpt.functions', which is considered an external resource (not created within the script itself) containing custom function definitions. This is not raw data processing but an inspection of function metadata.

1 Code Block
PROC FCMP
Explanation :
The 'options cmplib=(advrpt.functions);' block adds the 'advrpt.functions' function library to the list of libraries that SAS should search when executing custom functions. 'proc fcmp inlib=advrpt.functions listall;' instructs the FCMP procedure to list all functions and subroutines (FCMP macros) contained in the specified 'advrpt.functions' library. This allows viewing function definitions for verification or documentation.
Copied!
1options cmplib=(advrpt.functions);
2PROC FCMP inlib=advrpt.functions listall;
3RUN;
4 
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.