Informix Error -8059: The limit for IF statement nesting has been exceeded. There are too many IF statements within IF statements for ACE to properly compile this specification.
Cause and resolution
The limit for IF statement nesting has been exceeded. There are too many IF statements within IF statements for ACE to properly compile this specification.
You have exceeded the maximum levels of nested IF statements. You must simplify the logic of the report.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-8059 fires when IF statements are nested beyond ACE's compilation limit — per the official
guidance.
- Too many levels of nested
IFstatements, per the official guidance — the direct, only cause.
Solutions / Resolution
- Simplify the logic of the report, per the official guidance, to reduce the
IFnesting depth.
Examples
N/A
No specific triggering statement is documented beyond exceeding the maximum IF-nesting
depth.
Diagnostic Checks
- Count the levels of nested
IFstatements, and restructure the logic (e.g. usingCASE, or extracting conditions into helper variables) to reduce nesting.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -8059 in this set yet.
IF statements are nested too deeply for ACE to compile — simplify the report's logic.