Version (MQLONG)

This field specifies the structure version number.

The value depends on the environment:

    MQCXP_VERSION_1
    Version-1 channel exit parameter structure.

    MQCXP_VERSION_2
    Version-2 channel exit parameter structure.

    The field has this value in the HP Integrity NonStop Server environment.

    MQCXP_VERSION_3
    Version-3 channel exit parameter structure.

    The field has this value in UNIX systems not listed elsewhere.

    MQCXP_VERSION_4
    Version-4 channel exit parameter structure.

    MQCXP_VERSION_5
    Version-5 channel exit parameter structure.

    MQCXP_VERSION_6
    Version-6 channel exit parameter structure.

    MQCXP_VERSION_8
    Version-8 channel exit parameter structure.

    The field has this value in z/OS .

    MQCXP_VERSION_9
    Version-9 channel exit parameter structure. The field has this value in the following environments:

    • AIX
    • IBM i
    • Linux
    • Windows
    • z/OS

Fields that exist only in the more-recent versions of the structure are identified as such in the descriptions of the fields. The following constant specifies the version number of the current version:

    MQCXP_CURRENT_VERSION
    Current version of channel exit parameter structure.

    The value depends on the environment.

Note: When a new version of the MQCXP structure is introduced, the layout of the existing part is not changed. The exit must therefore check that the version number is equal to or greater than the lowest version which contains the fields that the exit needs to use.

This is an input field to the exit.

Parent topic: Fields