ADSDescriptor (MQLONG)

This field is an indicator specifying whether to send ADS descriptors on SEND and RECEIVE BMS requests.

The following values are defined:

    MQCADSD_NONE
    Do not send or receive ADS descriptors.

    MQCADSD_SEND
    Send ADS descriptors.

    MQCADSD_RECV
    Receive ADS descriptors.

    MQCADSD_MSGFORMAT
    Use message format for the ADS descriptors.

    This sends or receives the ADS descriptors using the long form of the ADS descriptor. The long form has fields that are aligned on 4-byte boundaries.

Set the ADSDescriptor field as follows:

  • If we are not using ADS descriptors, set the field to MQCADSD_NONE.
  • If we are using ADS descriptors with the same CCSID in each environment, set the field to the sum of MQCADSD_SEND and MQCADSD_RECV.
  • If we are using ADS descriptors with different CCSIDs in each environment, set the field to the sum of MQCADSD_SEND, MQCADSD_RECV, and MQCADSD_MSGFORMAT.

This is a request field used only for 3270 transactions. The initial value of this field is MQCADSD_NONE.

Parent topic: Fields for MQCIH