2.2.2.2 Login Response

The Login Response message is a token stream that consists of information about the server's characteristics, optional information and error messages, and finally, a completion message.

The LOGINACK token data stream includes information about the server interface and the server's product code and name. For more details, see section 2.2.7.13.

If there are any messages in the login response, an ERROR or INFO token data stream is returned from the server to the client. For more details, see sections 2.2.7.9 and 2.2.7.12.

The server can send, as part of the login response, one or more ENVCHANGE token data streams if the login changed the environment and the associated notification flag was set. An example of an environment change includes the current database context and language setting. For more details, see section 2.2.7.8.

A done packet MUST be present as the final part of the login response, and a DONE token data stream is the last thing sent in response to a server login request. For more details, see section 2.2.7.5.

Show: