Adding data items to bags

The MQAI lets you add integer items, 64-bit integer items, integer filter items, character-string items, string filter, byte string items, and byte string filter items to bags and this is shown in Figure 3. The items are identified by a selector. Usually one selector identifies one item only, but this is not always the case. If a data item with the specified selector is already present in the bag, an additional instance of that selector is added to the end of the bag.

Figure 3. Adding data items
Adding data items is described in the preceding text.

Add data items to a bag using the mqAdd* calls:

. .