View a list of custom-defined functions available globally or to an application. If MaxL shows no application name next to a function in the display output, then that function is global (system-wide). This statement also returns the validation status of an application's local custom-defined function or functions. Minimum permission required: read.
Syntax

Use display function to display custom-defined functions in the following ways:
| Keyword | Description |
|---|---|
all | Display all custom-defined functions, including those registered on the application level (local) or on the system level (global). |
on system | Display all custom-defined functions registered on the system (global). Does not include locally defined functions. |
on application | Display all custom-defined functions registered with the specified application (local). Does not include globally defined functions. |
<func-name> | Display a custom-defined function by name. |
Output Columns
The columns returned for this statement are described as follows:
| Column | Description |
|---|---|
application | Application name(s). |
function | Registered custom-defined function name(s), as defined by FUNC-NAME in the create function statement. |
class | The java class before the method, as defined by JAVACLASS.METHOD in the create function statement. |
method | The java method (at the end of the class), as defined by JAVACLASS.METHOD in the create function statement. |
spec | Optional Essbase calculator-syntax specification string, as defined by CALC-SPEC-STRING in the create function statement. |
comment | String as defined by COMMENT-STRING in the create function statement. |
runtime | Values: TRUE or FALSE. Whether or not the custom-defined function was created with the runtime property. |
state | The current state of the registered custom-defined function. Values:
|
Example
display function on application sample;
Displays all custom-defined functions associated with the application Sample.