Informix Error -2935
-2935 The number of lines specified with the '-l' option or
in the screen section must be a positive integer from 6 to 600.The vertical size of the screen, as indicated in the SCREEN statement or in the -l (lowercase L) command-line option, is out of range. Change it to specify the expected size of the terminal where the form will be used.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-2935 fires when the vertical size of a form's screen — set either in the SCREEN statement or
via the form compiler's -l (lowercase L) command-line option — falls outside the valid range
of 6 to 600 lines, per the official guidance.
- A
SCREENstatement or-loption value below 6 or above 600, per the official guidance — the direct, only cause.
Solutions / Resolution
- Change the value to specify the expected size of the terminal where the form will be used, per the official guidance.
Examples
An out-of-range -l value
form4gl -l 2 myform.per
Corrected
form4gl -l 24 myform.per
Diagnostic Checks
- Check the vertical screen size in
SCREENor via-l, and set it within 6-600 to match the target terminal.
Related Errors / Related Topics
- -2936 — "The number of columns specified with the '-c' option or in the screen section must be a positive integer from 30 to 600." The equivalent horizontal-size range check, paired with this vertical one.
The screen's vertical line count is outside the valid 6-600 range — set it to match the target terminal's actual size.