source/h/ctgclient_eci.h File Reference

#include "ctgclient.h"

Go to the source code of this file.

Data Structures

Defines

Typedefs

Functions


Define Documentation

#define CICSCALL
 

Definition at line 48 of file ctgclient_eci.h.

#define ECI_ABEND_CODE_LENGTH   4
 

Definition at line 139 of file ctgclient_eci.h.

#define ECI_BACKOUT   4
 

Definition at line 185 of file ctgclient_eci.h.

#define ECI_COMMIT   2
 

Definition at line 184 of file ctgclient_eci.h.

#define ECI_ERR_CICS_DIED   -4
 

ECI return code, the specified server is no longer available.

Definition at line 386 of file ctgclient_eci.h.

#define ECI_ERR_INVALID_CALL_TYPE   -14
 

ECI return code, the call type was not valid.

Definition at line 405 of file ctgclient_eci.h.

#define ECI_ERR_INVALID_DATA_AREA   -19
 

ECI return code, the data area is not valid.

Definition at line 416 of file ctgclient_eci.h.

#define ECI_ERR_INVALID_DATA_LENGTH   -1
 

ECI return code, bad data length.

Definition at line 376 of file ctgclient_eci.h.

#define ECI_ERR_INVALID_EXTEND_MODE   -2
 

ECI return code, the extend mode field is not valid.

Definition at line 379 of file ctgclient_eci.h.

#define ECI_ERR_INVALID_VERSION   -21
 

ECI return code, the version is not valid.

Definition at line 419 of file ctgclient_eci.h.

#define ECI_ERR_LUW_TOKEN   -8
 

ECI return code, the value in Luw_Token is incorrect.

Definition at line 399 of file ctgclient_eci.h.

#define ECI_ERR_MAX_SESSIONS   -29
 

ECI return code, not enough communication resources to satisfy request.

Definition at line 434 of file ctgclient_eci.h.

#define ECI_ERR_MAX_SYSTEMS   -28
 

ECI return code, reached limit on maximum number of systems.

Definition at line 430 of file ctgclient_eci.h.

#define ECI_ERR_NO_CICS   -3
 

ECI return code, no CICS system is available.

Definition at line 382 of file ctgclient_eci.h.

#define ECI_ERR_NO_SESSIONS   -17
 

ECI return code, not enough communication resources to satisfy request.

Definition at line 413 of file ctgclient_eci.h.

#define ECI_ERR_REQUEST_TIMEOUT   -5
 

ECI return code, the value supplied for timeout is negative.

Definition at line 390 of file ctgclient_eci.h.

#define ECI_ERR_RESOURCE_SHORTAGE   -16
 

ECI return code, not enough resource to complete the request.

Definition at line 409 of file ctgclient_eci.h.

#define ECI_ERR_RESPONSE_TIMEOUT   -6
 

ECI return code, the ECI call timed out.

Definition at line 393 of file ctgclient_eci.h.

#define ECI_ERR_ROLLEDBACK   -30
 

ECI return code, an attempt was made to commit a logical unit of work, but the server was unable to commit the changes, and backed them out instead.

Definition at line 439 of file ctgclient_eci.h.

#define ECI_ERR_SECURITY_ERROR   -27
 

ECI return code, an invalid combination of user ID and password was specified.

Definition at line 426 of file ctgclient_eci.h.

#define ECI_ERR_SYSTEM_ERROR   -9
 

ECI return code, an internal system error has occurred.

Definition at line 402 of file ctgclient_eci.h.

#define ECI_ERR_TRANSACTION_ABEND   -7
 

ECI return code, the CICS transaction abended.

Definition at line 396 of file ctgclient_eci.h.

#define ECI_ERR_UNKNOWN_SERVER   -22
 

ECI return code, the requested server could not be located.

Definition at line 422 of file ctgclient_eci.h.

#define ECI_EXTENDED   1
 

Definition at line 183 of file ctgclient_eci.h.

#define ECI_LUW_NEW   0
 

Definition at line 243 of file ctgclient_eci.h.

#define ECI_NO_ERROR   0
 

ECI return code, no error.

Definition at line 373 of file ctgclient_eci.h.

#define ECI_NO_EXTEND   0
 

Definition at line 182 of file ctgclient_eci.h.

#define ECI_PASSWORD_LENGTH   16
 

Definition at line 112 of file ctgclient_eci.h.

#define ECI_PROGRAM_NAME_LENGTH   8
 

Definition at line 93 of file ctgclient_eci.h.

#define ECI_SYNC   1
 

Definition at line 85 of file ctgclient_eci.h.

#define ECI_SYSTEM_NAME_LENGTH   8
 

Definition at line 276 of file ctgclient_eci.h.

#define ECI_TPN_LENGTH   4
 

Definition at line 297 of file ctgclient_eci.h.

#define ECI_TRANSID_LENGTH   4
 

Definition at line 117 of file ctgclient_eci.h.

#define ECI_USERID_LENGTH   16
 

Definition at line 107 of file ctgclient_eci.h.

#define ECI_VERSION_2   3
 

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


Function Documentation

int CTG_ECI_Execute CTG_ConnToken_t  gwTok,
CTG_ECI_PARMS EciParms
 

Sends an ECI request to the Gateway.

Equivalent to the flow() method of a com.ibm.ctg.client.JavaGateway object.

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
  • CTG_OK
  • CTG_ERR_LOCKFAIL
  • CTG_ERR_MALLOCFAIL
  • CTG_ERR_BADGWTOKLIST
  • CTG_ERR_NULLGWTOKPTR
  • CTG_ERR_NULLPARM
  • CTG_ERR_LOSTGWCON
  • CTG_ERR_NULLECIPOINTER
  • CTG_ERR_UNKNOWN_REQUEST_TYPE
  • CTG_ERR_GATEWAY_CLOSED
  • CTG_ERR_WORK_WAS_REFUSED
  • CTG_ERR_GATEWAY_EXCEPTION
  • CTG_ERR_INVALID_REQUEST_TYPE
Other possible values are all of the documented ECI return codes.


© Copyright IBM Corporation 2006, 2009. All rights reserved.
For legal information, see http://www.ibm.com/legal/copytrade.shtml