ECI status block

The ECI status block is used in status information calls to pass information to and from the ECI. It contains the following fields:
ConnectionType
An integer field specifying the type of system on which the application is running, with the following possible values:
ECI_CONNECTED_NOWHERE
Application is not connected to anything.
ECI_CONNECTED_TO_CLIENT
Application is running on a client system.
ECI_CONNECTED_TO_SERVER
Application is using a server implementation of the ECI.
CicsServerStatus
An integer field specifying the state of the CICS® server, with the following possible values:
ECI_SERVERSTATE_UNKNOWN
The CICS server state could not be determined.
ECI_SERVERSTATE_UP
The CICS server is available to run programs.
ECI_SERVERSTATE_DOWN
The CICS server is not available to run programs.
CicsClientStatus
An integer field specifying the state of the Client daemon, with the following possible values:
ECI_CLIENTSTATE_UNKNOWN
The Client daemon state could not be determined.
ECI_CLIENTSTATE_UP
The Client daemon is available to receive ECI calls.
ECI_CLIENTSTATE_INAPPLICABLE
The application is using a server implementation of the ECI.