ctgclient_eci.h File Reference
#include "ctgclient.h"
#include "eci_channel.h"

Go to the source code of this file.

Detailed Description

Defines functions and typedefs for sending External Call Interface (ECI) requests to a Gateway daemon.

Definition in file ctgclient_eci.h.

Macro Definition Documentation

Definition at line 51 of file ctgclient_eci.h.

Length of the eci_abend_code field.

Definition at line 208 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 96 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 271 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 267 of file ctgclient_eci.h.

An attempt was made to continue an existing logical unit of work, but there was an outstanding asynchronous call for the same logical unit of work.

Definition at line 604 of file ctgclient_eci.h.

Communication with the target CICS server was interrupted during the request.

Definition at line 564 of file ctgclient_eci.h.

The eci_call_type field is not valid.

This can occur for the following reasons:

  • The eci_call_type field is not set to a valid call type value.
  • The active CICS request exit rejected the request.
  • The request includes a channel and the destination CICS server is not a defined IPIC server.

Definition at line 598 of file ctgclient_eci.h.

The combination of eci_commarea and eci_commarea_length values is not valid.

If eci_commarea is NULL, eci_commarea_length must be zero. If eci_commarea is not NULL, eci_commarea_length must not be zero.

Definition at line 621 of file ctgclient_eci.h.

Bad data length.

This might be because the protocol used to communicate with CICS is unable to send or receive the specified COMMAREA size.

Definition at line 551 of file ctgclient_eci.h.

The eci_extend_mode field is not valid.

Definition at line 555 of file ctgclient_eci.h.

The message qualifier is not in use.

Definition at line 662 of file ctgclient_eci.h.

The eci_version field was not set to ECI_VERSION_2 or ECI_VERSION_2A.

Definition at line 625 of file ctgclient_eci.h.

The value in eci_luw_token is incorrect.

There is no active unit of work associated with the specified token.

Definition at line 583 of file ctgclient_eci.h.

There are insufficient communication resources to complete the request.

Definition at line 644 of file ctgclient_eci.h.

The CICS TG has reached its limit on the maximum number of CICS servers.

Definition at line 639 of file ctgclient_eci.h.

Communication with the target CICS server could not be established.

Definition at line 559 of file ctgclient_eci.h.

No reply.

This can occur for the following reasons:

  • The eci_call_type field is set to ECI_GET_REPLY and there are no replies outstanding.
  • The eci_call_type field is set to ECI_GET_SPECIFIC_REPLY and there is no reply for the specified message qualifier.

Definition at line 658 of file ctgclient_eci.h.

There are insufficient communication resources to communicate with the target CICS server.

Definition at line 615 of file ctgclient_eci.h.

The timeout interval expired before the request was sent to CICS, or the value supplied for timeout is negative.

Definition at line 569 of file ctgclient_eci.h.

There are insufficient resources to communicate with the target CICS server; details might be available in the CICS TG error log files.

Definition at line 610 of file ctgclient_eci.h.

The ECI call timed out while waiting for a response.

Definition at line 573 of file ctgclient_eci.h.

An attempt was made to commit a logical unit of work, but the CICS server was unable to commit the changes, and backed them out instead.

Definition at line 650 of file ctgclient_eci.h.

An invalid combination of user ID and password or password phrase was specified.

Definition at line 634 of file ctgclient_eci.h.

An internal system error has occurred.

If the problem persists, collect application and Gateway daemon trace and contact your IBM service representative.

Definition at line 589 of file ctgclient_eci.h.

The CICS transaction abended.

The abend code is available in the eci_abend_code field.

Definition at line 578 of file ctgclient_eci.h.

The target CICS server is unknown to the Gateway daemon.

Definition at line 629 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 263 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 100 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 104 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 108 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 112 of file ctgclient_eci.h.

A value used to set the CTG_ECI_PARMS::eci_luw_token field at the start of a new logical unit of work.

Definition at line 318 of file ctgclient_eci.h.

No error.

Definition at line 546 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 259 of file ctgclient_eci.h.

Length of the eci_password field.

Definition at line 179 of file ctgclient_eci.h.

Length of the eci_program_name field.

Definition at line 154 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 92 of file ctgclient_eci.h.

Length of the eci_system_name field.

Definition at line 367 of file ctgclient_eci.h.

Length of the eci_tpn field.

Definition at line 384 of file ctgclient_eci.h.

Length of the eci_transid field.

Definition at line 188 of file ctgclient_eci.h.

Length of the eci_userid field.

Definition at line 170 of file ctgclient_eci.h.

ECI version provided for applications that use the eci_userid and eci_password fields to specify security credentials.

For new applications, specify an eci_version of ECI_VERSION_2A and use the eci_userid_ptr and eci_password_ptr fields for security credentials. ECI_VERSION_2 supports only the ECI_SYNC call type.

Definition at line 346 of file ctgclient_eci.h.

Latest ECI version.

ECI_VERSION_2A supports both synchronous and asynchronous ECI call types. Security credentials are specified using eci_userid_ptr and eci_password_ptr.

Definition at line 352 of file ctgclient_eci.h.

Typedef Documentation

A reference for an ECI Parameter block, CTG_ECI_Execute .

Definition at line 459 of file ctgclient_eci.h.

Function Documentation

Writes the contents of internal CICS TG channel and container structures to the current trace destination.

The debug information is written irrespective of trace settings.

Note
The IBM service organization may request that this function is used to aid problem determination.
Returns
An integer value identifies whether the call was successful or not.
Possible values include

Sends an ECI request to the Gateway with a COMMAREA or retrieves an asynchronous ECI response, depending on the value of CTG_ECI_PARMS::eci_call_type.

Parameters
Returns
An integer value identifies whether the call was successful or not.
Possible values include Other possible values are all of the documented ECI return codes.

Sends an ECI request to the Gateway with a channel object or retrieves an asynchronous ECI response, depending on the value of CTG_ECI_PARMS::eci_call_type.

Parameters
Returns
An integer value identifies whether the call was successful or not.
Possible values include Other possible values are all of the documented ECI return codes.