This class encapsulates the MQOR, MQRR, and MQPMR structures and associates them with an owning distribution list.
Use the AddDistributionListItem Method of the MQDistributionList class
Read-write. The AccountingToken to be included in the MQPMR of a message when put on a queue. Its initial value is all nulls.
Syntax:
To get: accountingtoken$ =
MQDistributionListItem.AccountingToken
To set: MQDistributionListItem.AccountingToken = accountingtoken$
Read-write. The AccountingToken to be included in the MQPMR of a message when put on a queue.
Every two characters of the string represent the hexadecimal equivalent of a single ASCII character. For example, the pair of characters "6" and "1" represent the single character "A", the pair of characters "6" and "2" represent the single character "B" and so on.
You must supply 64 valid hexadecimal characters.
Its initial value is "0...0".
Syntax:
To get: accountingtokenh$ =
MQDistributionListItem.AccountingTokenHex
To set: MQDistributionListItem.AccountingTokenHex = accountingtokenh$
Read-only. The completion code set by the last open or put request issued against the owning distribution list object.
Syntax:
To get: completioncode$ =
MQDistributionListItem.CompletionCode
Read-write. The CorrelId to be included in the MQPMR of a message when put on a queue. Its initial value is all nulls.
Syntax:
To get: correlid$ =
MQDistributionListItem.CorrelationId
To set: MQDistributionListItem.CorrelationId = correlid$
Read-write. The CorrelId to be included in the MQPMR of a message when put on a queue.
Every two characters of the string represent the hexadecimal equivalent of a single ASCII character. For example, the pair of characters "6" and "1" represent the single character "A", the pair of characters "6" and "2" represent the single character "B" and so on.
You must supply 48 valid hexadecimal characters.
Its initial value is "0..0".
Syntax:
To get: correlidh$ =
MQDistributionListItem.CorrelationIdHex
To set: MQDistributionListItem.CorrelationIdHex = correlidh$
Read-only. The distribution list with which this distribution list item is associated.
Syntax:
To get: set distributionlist =
MQDistributionListItem.DistributionList
Read-write. The Feedback value to be included in the MQPMR of a message when put on a queue.
Syntax:
To get: feedback& =
MQDistributionListItem.Feedback
To set: MQDistributionListItem.Feedback = feedback&
Read-write. The GroupId to be included in the MQPMR of a message when put on a queue. Its initial value is all nulls.
Syntax:
To get: groupid$ =
MQDistributionListItem.GroupId
To set: MQDistributionListItem.GroupId = groupid$
Read-write. The GroupId to be included in the MQPMR of a message when put on a queue.
Every two characters of the string represent the hexadecimal equivalent of a single ASCII character. For example, the pair of characters "6" and "1" represent the single character "A", the pair of characters "6" and "2" represent the single character "B" and so on.
You must supply 48 valid hexadecimal characters.
Its initial value is "0..0".
Syntax:
To get: groupidh$ =
MQDistributionListItem.GroupIdHex
To set: MQDistributionListItem.GroupIdHex = groupidh$
Read-write. The MessageId to be included in the MQPMR of a message when put on a queue. Its initial value is all nulls.
Syntax:
To get: messageid$ =
MQDistributionListItem.MessageId
To set: MQDistributionListItem.MessageId = messageid$
Read-write. The MessageId to be included in the MQPMR of a message when put on a queue.
Every two characters of the string represent the hexadecimal equivalent of a single ASCII character. For example, the pair of characters "6" and "1" represent the single character "A", the pair of characters "6" and "2" represent the single character "B" and so on.
You must supply 48 valid hexadecimal characters.
Its initial value is "0..0".
Syntax:
To get: messageidh$ =
MQDistributionListItem.MessageIdHex
To set: MQDistributionListItem.MessageIdHex = messageidh$
Read-only. The next distribution list item object associated with the same distribution list.
Syntax:
To get: set distributionlistitem =
MQDistributionListItem.NextDistributionListItem
Read-only. The previous distribution list item object associated with the same distribution list.
Syntax:
To get: set distributionlistitem =
MQDistributionListItem.PreviousDistributionListItem
Read-write. The WebSphere MQ queue manager name.
Syntax:
To get: qmname$ =
MQDistributionListItem.QueueManagerName
To set: MQDistributionListItem.QueueManagerName = qmname$
Read-write. The WebSphere MQ queue name.
Syntax:
To get: qname$ =
MQDistributionListItem.QueueName
To set: MQDistributionListItem.QueueName = qname$
Read-only. The completion code set by the last open or put issued to the owning distribution list object.
Syntax:
To get: reasoncode& =
MQDistributionListItem.ReasonCode
Read-only. The symbolic name for the ReasonCode. For example "MQRC_QMGR_NOT_AVAILABLE".
Syntax:
To get: reasonname$ =
MQDistributionListItem.ReasonName
Resets the CompletionCode to MQCC_OK and the ReasonCode to MQRC_NONE for both the MQDistributionListItem class and the MQSession class.
Syntax:
Call MQDistributionListItem.ClearErrorCodes