Informix Error -25554: INFORMIXSERVER environment variable too long.
Cause and resolution
INFORMIXSERVER environment variable too long.
The value of INFORMIXSERVER is too long for a database server name. The maximum length for database server names depends on the database server. In IBM Informix Dynamic Server 9.2 or later, the maximum length is 128 characters. In other Informix database servers, the maximum length is 18 characters.
Set the INFORMIXSERVER environment variable to a database server name that does not exceed the maximum length and try again.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-25554 fires when INFORMIXSERVER exceeds the maximum length for a database server
name — per the official guidance, the limit is 128 characters on IBM Informix Dynamic
Server 9.2 or later, and 18 characters on other Informix database servers.
INFORMIXSERVERlonger than the server's maximum database-server-name length, per the official guidance — the direct, only cause.
Solutions / Resolution
- Set
INFORMIXSERVERto a database server name within the maximum length, per the official guidance, and try again.
Examples
N/A
No specific triggering statement is documented beyond an oversized INFORMIXSERVER value.
Diagnostic Checks
- Check the length of
INFORMIXSERVERagainst the server's maximum (128 characters on IDS 9.2+, 18 on earlier servers).
Related Errors / Related Topics
- -25560 — "Environment variable INFORMIXSERVER must be set." A related
INFORMIXSERVERerror, on the variable being unset rather than too long.
INFORMIXSERVER exceeded the maximum database-server-name length — shorten it.