StartCode (MQCHAR4)

The value of this field is an indicator specifying whether the bridge emulates a terminal transaction or a transaction initiated with START.

The value must be one of the following:

    MQCSC_START
    Start.

    MQCSC_STARTDATA
    Start data.

    MQCSC_TERMINPUT
    Terminal input.

    MQCSC_NONE
    None.

In all cases, for the C programming language the constants MQCSC_*_ARRAY are also defined; these constants have the same values as the corresponding MQCSC_* constants, but are arrays of characters instead of strings.

In the response from the bridge, this field is set to the start code appropriate to the next transaction ID contained in the NextTransactionId field. The following start codes are possible in the response:

  • MQCSC_START
  • MQCSC_STARTDATA
  • MQCSC_TERMINPUT

For CICS Transaction Server Version 1.2, this field is a request field only; its value in the response is undefined.

For CICS Transaction Server Version 1.3 and subsequent releases, this field is both a request and a response field.

This field is used only for 3270 transactions. The length of this field is given by MQ_START_CODE_LENGTH. The initial value of this field is MQCSC_NONE.

Parent topic: Fields for MQCIH