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 57 of file ctgclient_eci.h.

Length of the eci_abend_code field.

Definition at line 215 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 103 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 278 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 274 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 611 of file ctgclient_eci.h.

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

Definition at line 571 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 605 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 628 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 558 of file ctgclient_eci.h.

The eci_extend_mode field is not valid.

Definition at line 562 of file ctgclient_eci.h.

The message qualifier is not in use.

Definition at line 669 of file ctgclient_eci.h.

The eci_version field was not set to ECI_VERSION_2 or ECI_VERSION_2A.

Definition at line 632 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 590 of file ctgclient_eci.h.

There are insufficient communication resources to complete the request.

Definition at line 651 of file ctgclient_eci.h.

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

Definition at line 646 of file ctgclient_eci.h.

Communication with the target CICS server could not be established.

Definition at line 566 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 665 of file ctgclient_eci.h.

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

Definition at line 622 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 576 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 617 of file ctgclient_eci.h.

The ECI call timed out while waiting for a response.

Definition at line 580 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 657 of file ctgclient_eci.h.

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

Definition at line 641 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 596 of file ctgclient_eci.h.

The CICS transaction abended.

The abend code is available in the eci_abend_code field.

Definition at line 585 of file ctgclient_eci.h.

The target CICS server is unknown to the Gateway daemon.

Definition at line 636 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 270 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 107 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 111 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 115 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 119 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 326 of file ctgclient_eci.h.

No error.

Definition at line 553 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_extend_mode field.

Definition at line 266 of file ctgclient_eci.h.

Length of the eci_password field.

Definition at line 186 of file ctgclient_eci.h.

Length of the eci_program_name field.

Definition at line 161 of file ctgclient_eci.h.

A value used with the CTG_ECI_PARMS::eci_call_type field.

Definition at line 99 of file ctgclient_eci.h.

Length of the eci_system_name field.

Definition at line 375 of file ctgclient_eci.h.

Length of the eci_tpn field.

Definition at line 391 of file ctgclient_eci.h.

Length of the eci_transid field.

Definition at line 195 of file ctgclient_eci.h.

Length of the eci_userid field.

Definition at line 177 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 354 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 360 of file ctgclient_eci.h.

Typedef Documentation

A reference for an ECI Parameter block, CTG_ECI_Execute .

Definition at line 466 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.