Informix Error -26245: API error: Answer/DB invocation failed.
Cause and resolution
API error: Answer/DB invocation failed.
Your 3270 emulator session is not at the terminal session 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 terminal that the connect script expects.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26245 fires when the 3270 emulator session isn't at the terminal the connect script expects — per the official guidance.
- The 3270 emulator session isn't at the terminal the connect script expects, per the official guidance — the direct, only cause; Answer/DB then can't be invoked successfully.
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 terminal the connect script expects, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an invocation failure due to screen mismatch.
Diagnostic Checks
- Check the connect script against the 3270 emulator's actual current terminal, 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 past the screen.
- -26237 — "API error: Input too long for field." The same underlying screen-sync mismatch, manifesting as an oversized field input.
- -26242 — "API error: Unintelligible response." The same underlying screen-sync mismatch, manifesting as an unparseable response.
The 3270 emulator session wasn't at the terminal the connect script expected, so Answer/DB invocation failed — verify the script and the emulator's actual terminal.