The Count property represents the number of data items within a bag. This property corresponds to the MQAI call, "mqCountItems," in the WebSphere MQ Programmable Command Formats and Administration Interface.
MQSEL_ALL_USER_SELECTORS is the default.
If the Selector is not of type long, MQRC_SELECTOR_TYPE_ERROR is returned.
To return the number of items in a bag:
ItemCount = mqbag.Count([Selector])
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csq6990 |