Informix Error -1135
-1135 The row or column number in DISPLAY AT exceeds the limits of your
terminal.Review the DISPLAY...AT statement. Make sure that the position numbers are in the correct order (row number first, then column) and that they make sense for the current terminal or window. The dimensions of the terminal for UNIX systems are determined when the program starts by reading termcap information (or terminfo information, depending on the value of the INFORMIXTERM environment variable). A screen location that is correct for one user of the program might not be correct for all. On DOS systems, the window size is always 24 lines by 80 characters.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-1135 fires when a DISPLAY ... AT statement's row or column position falls outside the current
terminal's actual dimensions — per the official guidance, on UNIX these dimensions come from
termcap/terminfo at program startup (via INFORMIXTERM), while DOS defaults to 24 lines by 80
columns.
- A row/column value in
DISPLAY ... ATlarger than the terminal's actual size, per the official guidance — the direct, only cause. - The row and column arguments given in the wrong order, per the official guidance's own
reminder —
DISPLAY ... ATtakes row first, then column. - A terminal genuinely smaller than the value assumed by the program, if the program was written assuming a larger standard terminal size.
Solutions / Resolution
- Review the
DISPLAY ... ATstatement, per the official guidance, confirming row is given before column, and that both values are appropriate for the current terminal. - Check the actual terminal dimensions in effect — via termcap/terminfo (UNIX) or the DOS 24x80 default — before assuming a specific size in the statement.
Examples
Row/column reversed or out of bounds
DISPLAY "Status" AT 80, 24
-- -1135: arguments reversed (column, row given as row, column) and/or
-- out of bounds for a 24x80 terminal
Corrected
DISPLAY "Status" AT 24, 1
Diagnostic Checks
- Confirm row is given before column in every
DISPLAY ... ATstatement. - Check the terminal's actual dimensions against the values used.
Related Errors / Related Topics
- -1136 — "Window is too large to fit on the screen." A related terminal-size error, about
an entire window's dimensions rather than a single
DISPLAY ... ATposition. - -1137 — "Cannot open window." A related window error, about insufficient memory rather than terminal dimensions.
A DISPLAY ... AT position falls outside the terminal's actual size — check row-then-column
argument order and the terminal's real dimensions.