Informix Error -16308: Missing function name.
Cause and resolution
Missing function name.
You must specify the name of a function in a CALL command. Repeat the command, specifying the name of a function followed by left and right parentheses. If the function requires arguments, include the list of arguments within the parentheses, separating multiple arguments by commas.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16308 fires when a CALL command doesn't specify a function name — per the official
guidance.
- A
CALLcommand missing its function name, per the official guidance — the direct, only cause.
Solutions / Resolution
- Repeat the command, specifying the function name followed by left and right parentheses, per the official guidance, including any required arguments comma-separated within the parentheses.
Examples
A CALL command missing the function name
> CALL ()
Corrected
> CALL myfunc(arg1, arg2)
Diagnostic Checks
- Check the
CALLcommand for a function name before the parentheses.
Related Errors / Related Topics
- -16317 — "Program variable name expected." A related identifier-expected error, in a
LETcommand rather than aCALLcommand.
A CALL command is missing its function name — specify the function name followed by
parentheses.