TaskEndStatus (MQLONG)

This field is a response field, showing the status of the user transaction at end of task. The field is used only for 3270 transactions, and its initial value is MQCTES_NOSYNC.

One of the following values is returned:

    MQCTES_NOSYNC
    Not synchronized.

    The user transaction has not yet completed and has not syncpointed. The MsgType field in MQMD is MQMT_REQUEST in this case.

    MQCTES_COMMIT
    Commit unit of work.

    The user transaction has not yet completed, but has syncpointed the first unit of work. The MsgType field in MQMD is MQMT_DATAGRAM in this case.

    MQCTES_BACKOUT
    Back out unit of work.

    The user transaction has not yet completed. The current unit of work is backed out. The MsgType field in MQMD is MQMT_DATAGRAM in this case.

    MQCTES_ENDTASK
    End task.

    The user transaction has ended (or abended). The MsgType field in MQMD is MQMT_REPLY in this case.

Parent topic: Fields for MQCIH