Informix Error -33205: PARAMETER cannot be used inside of a C block.
Cause and resolution
PARAMETER cannot be used inside of a C block.
The PARAMETER statement is allowed only in a function declaration block, not within a namely block that is nested in a function.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33205 fires when a PARAMETER statement appears inside a C block — per the official
guidance, PARAMETER is only allowed in a function declaration block, not within a nested
C block.
- A
PARAMETERstatement placed inside a nested C block, per the official guidance — the direct, only cause.
Solutions / Resolution
- Move the
PARAMETERstatement to the function declaration block, per the official guidance, out of the nested C block.
Examples
N/A
No specific triggering statement is documented beyond a misplaced PARAMETER statement.
Diagnostic Checks
- Check the flagged
PARAMETERstatement's location, and move it to the function declaration block if it's inside a nested C block.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -33205 in this set yet.
A PARAMETER statement was placed inside a nested C block — move it to the function
declaration block.