The ItemType method returns the type of the value in a specified item in a bag. This method corresponds to the MQAI call, "mqInquireItemInfo," in the WebSphere MQ Programmable Command Formats and Administration Interface.
MQSEL_ANY_USER_SELECTOR is the default. If the Selector parameter is not of type long, MQRC_SELECTOR_TYPE_ERROR results.
To return the type of a value:
ItemType = mqbag.ItemType([Selector], [ItemIndex])
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csq6996 |