Informix Error -16357
-16357 Function function-name is not active.
You can display only variables that are defined in the active function. This variable is defined in function name, which is not active.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16357 fires when a variable display is requested for a variable defined in a function that's not currently active — per the official guidance. Only variables in the active function can be displayed.
- The variable's defining function not being active, per the official guidance — the direct, only cause.
Solutions / Resolution
- Only display variables defined in the currently active function, per the official guidance — suspend execution within the target function first if needed.
Examples
N/A
No specific triggering statement is documented beyond referencing a variable in an inactive function.
Diagnostic Checks
- Check which function is currently active, and confirm the variable belongs to it.
Related Errors / Related Topics
- -16351 — "Variable variable-name could not be located." A related variable-reference error, about the variable not being found at all rather than found but in an inactive function.
The variable's defining function isn't active — only variables in the active function can be displayed.