Informix Error -26225: API error: Host session does not exist.
Cause and resolution
API error: Host session does not exist.
The host-session name that is specified in the Host Session parameter on the SETUP screen is invalid. Correct the host-session name. Change any configuration file that your communications software requires accordingly.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-26225 fires when the SETUP screen's Host Session parameter names an invalid session — per the official guidance.
- The Host Session parameter's value is invalid, per the official guidance — the direct, only cause.
Solutions / Resolution
- Correct the host-session name on the SETUP screen, per the official guidance, and update any communications-software configuration file accordingly.
Examples
N/A
No specific triggering statement is documented beyond an invalid host-session name.
Diagnostic Checks
- Check the Host Session parameter's value against the actual available sessions, and correct it.
Related Errors / Related Topics
- -26224 — "API error: Host session busy." A related Host Session parameter error, on a valid session being in use rather than the name itself being invalid.
The Host Session parameter named a session that doesn't exist — correct it on the SETUP screen.