|
CICS Transaction Gateway ECI and ESI V2 for C
V10.1.0.0
|
Go to the documentation of this file.
52 #if defined (CICS_W32) || defined(CICS_WNT)
53 #define CICSCALL __cdecl
58 #if !defined(_LP64) && !defined(__LP64__) && !defined(_WIN64) && !defined(__64BIT__)
60 #pragma options align=packed
61 #elif defined(CICS_HPUX)
104 #define ECI_GET_REPLY 3
108 #define ECI_GET_REPLY_WAIT 4
112 #define ECI_GET_SPECIFIC_REPLY 5
116 #define ECI_GET_SPECIFIC_REPLY_WAIT 6
158 #define ECI_PROGRAM_NAME_LENGTH 8
174 #define ECI_USERID_LENGTH 16
183 #define ECI_PASSWORD_LENGTH 16
192 #define ECI_TRANSID_LENGTH 4
212 #define ECI_ABEND_CODE_LENGTH 4
263 #define ECI_NO_EXTEND 0
267 #define ECI_EXTENDED 1
275 #define ECI_BACKOUT 4
322 #define ECI_LUW_NEW 0
350 #define ECI_VERSION_2 4
356 #define ECI_VERSION_2A 6
371 #define ECI_SYSTEM_NAME_LENGTH 8
388 #define ECI_TPN_LENGTH 4
550 #define ECI_NO_ERROR 0
555 #define ECI_ERR_INVALID_DATA_LENGTH -1
559 #define ECI_ERR_INVALID_EXTEND_MODE -2
563 #define ECI_ERR_NO_CICS -3
568 #define ECI_ERR_CICS_DIED -4
573 #define ECI_ERR_REQUEST_TIMEOUT -5
577 #define ECI_ERR_RESPONSE_TIMEOUT -6
582 #define ECI_ERR_TRANSACTION_ABEND -7
587 #define ECI_ERR_LUW_TOKEN -8
593 #define ECI_ERR_SYSTEM_ERROR -9
602 #define ECI_ERR_INVALID_CALL_TYPE -14
608 #define ECI_ERR_ALREADY_ACTIVE -15
614 #define ECI_ERR_RESOURCE_SHORTAGE -16
619 #define ECI_ERR_NO_SESSIONS -17
625 #define ECI_ERR_INVALID_DATA_AREA -19
629 #define ECI_ERR_INVALID_VERSION -21
633 #define ECI_ERR_UNKNOWN_SERVER -22
638 #define ECI_ERR_SECURITY_ERROR -27
643 #define ECI_ERR_MAX_SYSTEMS -28
648 #define ECI_ERR_MAX_SESSIONS -29
654 #define ECI_ERR_ROLLEDBACK -30
662 #define ECI_ERR_NO_REPLY -32
666 #define ECI_ERR_INVALID_MSG_QUAL -33
668 #if !defined(_LP64) && !defined(__LP64__) && !defined(_WIN64) && !defined(__64BIT__)
669 #if defined(CICS_AIX)
670 #pragma options align=reset
671 #elif defined(CICS_HPUX) && defined(__cplusplus)
673 #elif defined(CICS_HPUX) && defined(CICS_HPIT)
675 #elif defined(CICS_HPUX)
676 #pragma HP_ALIGN HPUX_NATURAL
signed int eci_message_qualifier
Identifier for an asynchronous request reply.
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,...
struct _CTG_ConnToken_t * CTG_ConnToken_t
CTG_ConnToken_t represents a connection to a specific Gateway daemon.
The Version 2 External Call Interface (ECI) parameter block.
int CTG_ECI_dumpChannels()
Writes the contents of internal CICS TG channel and container structures to the current trace destina...
const char * eci_userid_ptr
Pointer to a null terminated string containing a user ID.
signed short eci_commarea_length
The length of the COMMAREA.
#define ECI_SYSTEM_NAME_LENGTH
Length of the eci_system_name field.
ECI_ChannelToken_t channel
Channel token for use with CTG_ECI_ExecuteChannel().
#define ECI_TPN_LENGTH
Length of the eci_tpn field.
signed short eci_extend_mode
Extend mode defines the behaviour of the ECI flow.
#define ECI_USERID_LENGTH
Length of the eci_userid field.
signed short eci_timeout
The ECI request timeout.
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,...
#define ECI_TRANSID_LENGTH
Length of the eci_transid field.
#define ECI_PASSWORD_LENGTH
Length of the eci_password field.
CTG_ECI_PARMS * PCTG_ECI_PARMS
A reference for an ECI Parameter block, CTG_ECI_Execute .
signed short commarea_outbound_length
Maximum data length to send to the Gateway daemon.
signed short commarea_inbound_length
Maximum data length to receive from the Gateway daemon.
signed int eci_luw_token
The token identifies the logical unit of work to which the ECI request is associated.
signed short eci_call_type
Identifies the type of ECI flow.
void * eci_commarea
The COMMAREA data passed to and returned from the CICS program.
const char * eci_password_ptr
Pointer to a null terminated string containing a password or password phrase.
#define ECI_PROGRAM_NAME_LENGTH
Length of the eci_program_name field.
signed short eci_version
ECI version identifier.
struct _ECI_Channel_t * ECI_ChannelToken_t
Represents a channel object.
#define ECI_ABEND_CODE_LENGTH
Length of the eci_abend_code field.