Scope (10-digit signed integer) on IBM i

Controls whether an entry for this queue also exists in a cell directory.

Local Model Alias Remote Cluster
X X X
A cell directory is provided by an installable Name service. This can have one of the following values:

    SCOQM
    Queue manager scope.

    The queue definition has queue manager scope. This means that the definition of the queue does not extend beyond the queue manager which owns it. To open the queue for output from some other queue manager, either the name of the owning queue manager must be specified, or the other queue manager must have a local definition of the queue.

    SCOCEL
    Cell scope.

    The queue definition has cell scope. This means that the queue definition is also placed in a cell directory available to all of the queue managers in the cell. The queue can be opened for output from any of the queue managers in the cell merely by specifying the name of the queue; the name of the queue manager which owns the queue need not be specified. However, the queue definition is not available to any queue manager in the cell which also has a local definition of a queue with that name, as the local definition takes precedence.

    A cell directory is provided by an installable name service such as LDAP (Lightweight Directory Access Protocol. Note that IBM MQ no longer supports the DCE (Distributed Computing Environment) name service that was formerly used for inserting queue definitions into a DCE directory (also no longer supported).

    Model and dynamic queues cannot have cell scope.

    This value is only valid if a name service supporting a cell directory has been configured.

To determine the value of this attribute, use the IASCOP selector with the MQINQ call.

Support for this attribute is subject to the following restrictions:

  • On IBM i, the attribute is supported, but only SCOQM is valid.

Parent topic: Attributes for queues