Informix Error -2936
-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 horizontal size of the screen, as indicated in the SCREEN statement or in the -c 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
-2936 fires when the horizontal size of a form's screen — set either in the SCREEN statement
or via the form compiler's -c command-line option — falls outside the valid range of 30 to
600 columns, per the official guidance.
- A
SCREENstatement or-coption value below 30 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 -c value
form4gl -c 10 myform.per
Corrected
form4gl -c 80 myform.per
Diagnostic Checks
- Check the horizontal screen size in
SCREENor via-c, and set it within 30-600 to match the target terminal.
Related Errors / Related Topics
- -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 equivalent vertical-size range check, paired with this horizontal one.
The screen's horizontal column count is outside the valid 30-600 range — set it to match the target terminal's actual size.