Informix Error -1805
-1805 Invalid connection name.
The connection name is invalid. It must conform to the same rules as any other identifier; that is, it cannot exceed the maximum length, cannot be an ANSI reserved word, must begin with a letter or underscore, and can contain only letters, digits, underscores, and, in IBM Informix Dynamic Server 9.2 or later, dollar-sign characters.
The maximum length for identifiers 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.
Check that the connection name is a valid identifier and that you are using the connection name and not some other value. If a connection name was used with the original CONNECT TO statement, you must use the connection name in subsequent connection statements.