Informix Error -2043: Screen layout exceeds the specified screen width. This is a warning only.
Cause and resolution
Screen layout exceeds the specified screen width. This is a warning only.
The assumed screen width is taken from the SCREEN statement or a command-line parameter to the form compiler, with a default of 80 characters. If the current form specification is displayed on a terminal of that width, either some lines truncate, or lines wrap unattractively.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2043 is a warning, not a hard error: it fires when a form specification's layout exceeds the
configured screen width — per the official guidance, screen width comes from the SCREEN
statement, Form Compiler command-line parameters, or defaults to 80 characters.
- The form layout wider than the configured/default screen width, per the official guidance — the direct, only cause; content may truncate or wrap poorly on a terminal matching that width.
Solutions / Resolution
- Narrow the form layout to fit within the configured screen width, if display on narrower terminals is a concern.
- Or explicitly widen the
SCREENstatement's width (or the Form Compiler's command-line parameter), if the wider layout is genuinely intended for wider terminals.
Examples
N/A
No specific triggering statement is documented — this is a warning about layout width versus the configured/default screen width (80 characters by default).
Diagnostic Checks
- Check the form's actual layout width against the
SCREENstatement's width, Form Compiler command-line parameters, or the 80-character default.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -2043 in this set yet.
A warning-only condition: the form layout exceeds the configured screen width — narrow the layout or explicitly widen the configured width.