Informix Error -26237: API error: Input too long for field.
Cause and resolution
API error: Input too long for field.
Your 3270 emulator session is not at the terminal session screen that the connect script expects. Exit DataExtract and confirm that your connect script is correct. Use the 3270 emulator software to check that it is at the screen that the connect script expects.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26237 fires when the 3270 emulator session isn't at the terminal screen the connect script expects — per the official guidance.
- The 3270 emulator session isn't at the screen the connect script expects, per the official guidance — the direct, only cause; the script's input then overflows the actual current field.
Solutions / Resolution
- Exit DataExtract and confirm the connect script is correct, per the official guidance.
- Use the 3270 emulator software to check it's at the screen the connect script expects, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond input overflowing a field due to screen mismatch.
Diagnostic Checks
- Check the connect script against the 3270 emulator's actual current screen, and correct whichever is out of sync.
Related Errors / Related Topics
- -26236 — "API error: Input beyond end of screen." The same underlying screen-sync mismatch, manifesting as input directed past the screen entirely.
- -26242 — "API error: Unintelligible response." The same underlying screen-sync mismatch, manifesting as an unparseable response.
- -26245 — "API error: Answer/DB invocation failed." The same underlying screen-sync mismatch, manifesting as an invocation failure.
The 3270 emulator session wasn't at the screen the connect script expected, causing input to overflow a field — verify the script and the emulator's actual screen.