Informix Error -79828: Function parameter specified is not an OUT parameter.
Cause and resolution
Function parameter specified is not an OUT parameter.
Informix functions can have only one OUT parameter, and it is always the last parameter.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-79828 fires when a parameter index other than the last is treated as the OUT
parameter — per the official guidance, Informix functions can have only one OUT
parameter, and it's always the last parameter.
- A parameter index other than the function's last parameter treated as
OUT, per the official guidance — the direct, only cause.
Solutions / Resolution
- Use the function's last parameter index for
OUT-parameter operations, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond specifying the wrong parameter index.
Diagnostic Checks
- Check the parameter index used for
OUT-parameter operations, and confirm it's the function's last parameter.
Related Errors / Related Topics
- -79827 — "Function does not have an output parameter." A related
OUT-parameter error, on the function having no usableOUTparameter at all rather than the wrong index being specified.
An OUT-parameter operation specified a parameter index other than the function's last —
use the last parameter index instead.