Go to the source code of this file.
Data Structures | |
struct | CTG_ECI_PARMS |
The Version 2 External Call Interface (ECI) parameter block. More... | |
Typedefs | |
typedef CTG_ECI_PARMS * | PCTG_ECI_PARMS |
Functions | |
int | CTG_ECI_Execute (CTG_ConnToken_t gwTok, CTG_ECI_PARMS *EciParms) |
int | CTG_ECI_Execute_Channel (CTG_ConnToken_t gwTok, CTG_ECI_PARMS *EciParms) |
int | CTG_ECI_dumpChannels () |
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
#define CICSCALL |
Definition at line 51 of file ctgclient_eci.h.
#define ECI_ABEND_CODE_LENGTH 4 |
Length of the eci_abend_code field.
Definition at line 208 of file ctgclient_eci.h.
#define ECI_ASYNC 2 |
A value used with the CTG_ECI_PARMS::eci_call_type field.
Definition at line 96 of file ctgclient_eci.h.
#define ECI_BACKOUT 4 |
A value used with the CTG_ECI_PARMS::eci_extend_mode field.
Definition at line 271 of file ctgclient_eci.h.
#define ECI_COMMIT 2 |
A value used with the CTG_ECI_PARMS::eci_extend_mode field.
Definition at line 267 of file ctgclient_eci.h.
#define ECI_ERR_ALREADY_ACTIVE -15 |
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.
#define ECI_ERR_CICS_DIED -4 |
Communication with the target CICS server was interrupted during the request.
Definition at line 564 of file ctgclient_eci.h.
#define ECI_ERR_INVALID_CALL_TYPE -14 |
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.
#define ECI_ERR_INVALID_DATA_AREA -19 |
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.
#define ECI_ERR_INVALID_DATA_LENGTH -1 |
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.
#define ECI_ERR_INVALID_EXTEND_MODE -2 |
The eci_extend_mode field is not valid.
Definition at line 555 of file ctgclient_eci.h.
#define ECI_ERR_INVALID_MSG_QUAL -33 |
The message qualifier is not in use.
Definition at line 662 of file ctgclient_eci.h.
#define ECI_ERR_INVALID_VERSION -21 |
The eci_version field was not set to ECI_VERSION_2 or ECI_VERSION_2A.
Definition at line 625 of file ctgclient_eci.h.
#define ECI_ERR_LUW_TOKEN -8 |
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.
#define ECI_ERR_MAX_SESSIONS -29 |
There are insufficient communication resources to complete the request.
Definition at line 644 of file ctgclient_eci.h.
#define ECI_ERR_MAX_SYSTEMS -28 |
The CICS TG has reached its limit on the maximum number of CICS servers.
Definition at line 639 of file ctgclient_eci.h.
#define ECI_ERR_NO_CICS -3 |
Communication with the target CICS server could not be established.
Definition at line 559 of file ctgclient_eci.h.
#define ECI_ERR_NO_REPLY -32 |
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.
#define ECI_ERR_NO_SESSIONS -17 |
There are insufficient communication resources to communicate with the target CICS server.
Definition at line 615 of file ctgclient_eci.h.
#define ECI_ERR_REQUEST_TIMEOUT -5 |
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.
#define ECI_ERR_RESOURCE_SHORTAGE -16 |
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.
#define ECI_ERR_RESPONSE_TIMEOUT -6 |
The ECI call timed out while waiting for a response.
Definition at line 573 of file ctgclient_eci.h.
#define ECI_ERR_ROLLEDBACK -30 |
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.
#define ECI_ERR_SECURITY_ERROR -27 |
An invalid combination of user ID and password or password phrase was specified.
Definition at line 634 of file ctgclient_eci.h.
#define ECI_ERR_SYSTEM_ERROR -9 |
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.
#define ECI_ERR_TRANSACTION_ABEND -7 |
The CICS transaction abended.
The abend code is available in the eci_abend_code field.
Definition at line 578 of file ctgclient_eci.h.
#define ECI_ERR_UNKNOWN_SERVER -22 |
The target CICS server is unknown to the Gateway daemon.
Definition at line 629 of file ctgclient_eci.h.
#define ECI_EXTENDED 1 |
A value used with the CTG_ECI_PARMS::eci_extend_mode field.
Definition at line 263 of file ctgclient_eci.h.
#define ECI_GET_REPLY 3 |
A value used with the CTG_ECI_PARMS::eci_call_type field.
Definition at line 100 of file ctgclient_eci.h.
#define ECI_GET_REPLY_WAIT 4 |
A value used with the CTG_ECI_PARMS::eci_call_type field.
Definition at line 104 of file ctgclient_eci.h.
#define ECI_GET_SPECIFIC_REPLY 5 |
A value used with the CTG_ECI_PARMS::eci_call_type field.
Definition at line 108 of file ctgclient_eci.h.
#define ECI_GET_SPECIFIC_REPLY_WAIT 6 |
A value used with the CTG_ECI_PARMS::eci_call_type field.
Definition at line 112 of file ctgclient_eci.h.
#define ECI_LUW_NEW 0 |
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.
#define ECI_NO_ERROR 0 |
No error.
Definition at line 546 of file ctgclient_eci.h.
#define ECI_NO_EXTEND 0 |
A value used with the CTG_ECI_PARMS::eci_extend_mode field.
Definition at line 259 of file ctgclient_eci.h.
#define ECI_PASSWORD_LENGTH 16 |
Length of the eci_password field.
Definition at line 179 of file ctgclient_eci.h.
#define ECI_PROGRAM_NAME_LENGTH 8 |
Length of the eci_program_name field.
Definition at line 154 of file ctgclient_eci.h.
#define ECI_SYNC 1 |
A value used with the CTG_ECI_PARMS::eci_call_type field.
Definition at line 92 of file ctgclient_eci.h.
#define ECI_SYSTEM_NAME_LENGTH 8 |
Length of the eci_system_name field.
Definition at line 367 of file ctgclient_eci.h.
#define ECI_TPN_LENGTH 4 |
Length of the eci_tpn field.
Definition at line 384 of file ctgclient_eci.h.
#define ECI_TRANSID_LENGTH 4 |
Length of the eci_transid field.
Definition at line 188 of file ctgclient_eci.h.
#define ECI_USERID_LENGTH 16 |
Length of the eci_userid field.
Definition at line 170 of file ctgclient_eci.h.
#define ECI_VERSION_2 4 |
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.
#define ECI_VERSION_2A 6 |
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
typedef CTG_ECI_PARMS* PCTG_ECI_PARMS |
A reference for an ECI Parameter block, CTG_ECI_Execute .
Definition at line 459 of file ctgclient_eci.h.
Function Documentation
int CTG_ECI_dumpChannels | ( | ) |
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
int CTG_ECI_Execute | ( | CTG_ConnToken_t | gwTok, |
CTG_ECI_PARMS * | EciParms | ||
) |
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
-
[in] gwTok The reference to the open Gateway connection. EciParms The reference to the CTG_ECI_PARMS structure, the fields of the structure are used for input and output.
- 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.
int CTG_ECI_Execute_Channel | ( | CTG_ConnToken_t | gwTok, |
CTG_ECI_PARMS * | EciParms | ||
) |
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
-
[in] gwTok The reference to the open Gateway connection. EciParms The reference to the CTG_ECI_PARMS structure, the fields of the structure are used for input and output.
- 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.