Informix Error -33063: Already within BEGIN DECLARE SECTION.
Cause and resolution
Already within BEGIN DECLARE SECTION.
This message is a warning only. An EXEC SQL BEGIN DECLARE SECTION statement is inside another BEGIN/END DECLARE block. This statement is ignored. However, the warning might indicate a mix-up in the structure of your program. Check that all the declaration sections are properly delimited.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-33063 is a preprocessor warning — per the official guidance, an EXEC SQL BEGIN DECLARE SECTION appeared inside another BEGIN/END DECLARE block; the nested statement is
ignored.
- A
BEGIN DECLARE SECTIONnested inside another declare section, per the official guidance — the direct, only cause.
Solutions / Resolution
- Check that all declaration sections are properly delimited, per the official guidance, since this may indicate a structural mix-up even though the statement itself is just ignored.
Examples
N/A
No specific triggering statement is documented beyond a nested BEGIN DECLARE SECTION.
Diagnostic Checks
- Check the program's declare-section structure for an unintended nested
BEGIN DECLARE SECTION.
Related Errors / Related Topics
- -33013 — "END DECLARE SECTION with no BEGIN." A related declare-section pairing
error, on a missing
BEGINrather than an extra nested one.
A BEGIN DECLARE SECTION was nested inside another declare section and was ignored —
check the declare-section structure for a mix-up.