Home

 

Overview

Availability: AIX, HP-UX, z/OS, Solaris, Linux, Windows, plus WebSphere MQ clients connected to these systems.

Purpose: The MQCIH structure describes the information that can be present at the start of a message sent to the CICS bridge through WebSphere MQ for z/OS.

Format name: MQFMT_CICS.

Version: The current version of MQCIH is MQCIH_VERSION_2. Fields that exist only in the more-recent version of the structure are identified as such in the descriptions that follow.

The header, COPY, and INCLUDE files provided for the supported programming languages contain the most-recent version of MQCIH, with the initial value of the Vfield set to MQCIH_VERSION_2.

Character set and encoding: Special conditions apply to the character set and encoding used for the MQCIH structure and application message data:

Usage: If the application requires values that are the same as the initial values shown in Table 25, and the bridge is running with AUTH=LOCAL or AUTH=IDENTIFY, we can omit the MQCIH structure from the message. In all other cases, the structure must be present.

The bridge accepts either a version-1 or a version-2 MQCIH structure, but for 3270 transactions, use a version-2 structure.

The application must ensure that fields documented as request fields have appropriate values in the message sent to the bridge; these fields are input to the bridge.

Fields documented as response fields are set by the CICS bridge in the reply message that the bridge sends to the application. Error information is returned in the ReturnCode, Function, CompCode, Reason, and AbendCode fields, but not all of them are set in all cases. Table 24 shows which fields are set for different values of ReturnCode.

Table 24. Contents of error information fields in MQCIH structure
ReturnCode Function CompCode Reason AbendCode
MQCRC_OK - - - -
MQCRC_BRIDGE_ERROR - - MQFB_CICS_* -
MQCRC_MQ_API_ERROR
MQCRC_BRIDGE_TIMEOUT
MQ call name MQ CompCode MQ Reason -
MQCRC_CICS_EXEC_ERROR
MQCRC_SECURITY_ERROR
MQCRC_PROGRAM_NOT_AVAILABLE
MQCRC_TRANSID_NOT_AVAILABLE
CICS EIBFN CICS EIBRESP CICS EIBRESP2 -
MQCRC_BRIDGE_ABEND
MQCRC_APPLICATION_ABEND
- - - CICS ABCODE


 

Home