Object attributes

group status

Status of a message for a group of messages. The initial value is MQGS_NOT_IN_GROUP. The following additional values are possible:

  • MQGS_MSG_IN_GROUP

  • MQGS_LAST_MSG_IN_GROUP

match options

Options for selecting incoming messages. The initial value is MQMO_MATCH_MSG_ID | MQMO_MATCH_CORREL_ID. The following additional values are possible:

  • MQMO_GROUP_ID

  • MQMO_MATCH_MSG_SEQ_NUMBER

  • MQMO_MATCH_OFFSET

  • MQMO_MSG_TOKEN

  • MQMO_NONE

message token

Message token. A binary value (MQBYTE16) of length MQ_MSG_TOKEN_LENGTH. The initial value is MQMTOK_NONE.

options

Options applicable to a message. The initial value is MQGMO_NO_WAIT. The following additional values are possible:

  • MQGMO_WAIT

  • MQGMO_SYNCPOINT

  • MQGMO_SYNCPOINT_IF_PERSISTENT

  • MQGMO_NO_SYNCPOINT

  • MQGMO_MARK_SKIP_BACKOUT

  • MQGMO_BROWSE_FIRST

  • MQGMO_BROWSE_NEXT

  • MQGMO_BROWSE_MSG_UNDER_CURSOR

  • MQGMO_MSG_UNDER_CURSOR

  • MQGMO_LOCK

  • MQGMO_UNLOCK

  • MQGMO_ACCEPT_TRUNCATED_MSG

  • MQGMO_SET_SIGNAL

  • MQGMO_FAIL_IF_QUIESCING

  • MQGMO_CONVERT

  • MQGMO_LOGICAL_ORDER

  • MQGMO_COMPLETE_MSG

  • MQGMO_ALL_MSGS_AVAILABLE

  • MQGMO_ALL_SEGMENTS_AVAILABLE

  • MQGMO_NONE

resolved queue name

Resolved queue name. This attribute is read-only. Names are never longer than 48 characters and can be padded to that length with nulls. The initial value is a null string.

returned length

Returned length. The initial value is MQRL_UNDEFINED. This attribute is read-only.

segmentation

The ability to segment a message. The initial value is MQSEG_INHIBITED. The additional value, MQSEG_ALLOWED, is possible.

segment status

The segmentation status of a message. The initial value is MQSS_NOT_A_SEGMENT. The following additional values are possible:

  • MQSS_SEGMENT

  • MQSS_LAST_SEGMENT

syncpoint participation

TRUE when messages are retrieved under syncpoint control.

wait interval

The length of time that the class get method pauses while waiting for a suitable message to arrive, if one is not already available. The initial value is zero, which effects an indefinite wait. The additional value, MQWI_UNLIMITED, is possible. This attribute is ignored unless the options include MQGMO_WAIT.