properties, Options Property, Options parameter" /> Options property

 

Options property

 

Purpose

The Options property sets options for the use of a bag. This property corresponds to the

Options parameter of the MQAI call, "mqCreateBag," in the WebSphere MQ Programmable Command Formats and Administration Interface.

 

Format

Options (Options)

 

Parameters

Options (LONG) - input/output

The bag options.
Note:
The bag options must be set before data items are added to or set within the bag. If the options are changed when the bag is not empty, MQRC_OPTIONS_ERROR results. This applies even if the bag is subsequently cleared.

 

Visual Basic Language Invocation

When inquiring about the options of an item within a bag:

Options = mqbag.Options

To set an option of an item in a bag:

mqbag.Options = Options