Informix Error -16315: Missing ).
Cause and resolution
Missing ).
Either you omitted a right parenthesis from a command argument, or you included a superfluous left parenthesis.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-16315 fires when a command argument has an unbalanced parenthesis — per the official guidance.
- An omitted right parenthesis from a command argument, per the official guidance — the first named cause.
- A superfluous left parenthesis, per the official guidance — the second named cause.
Solutions / Resolution
- Balance the parentheses in the command argument.
Examples
An unbalanced parenthesis
> CALL myfunc(arg1
Corrected
> CALL myfunc(arg1)
Diagnostic Checks
- Count the parentheses in the command argument and confirm they're balanced.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -16315 in this set yet.
A command argument has an unbalanced parenthesis — balance the parentheses.