Air Cleaner User Manual

CLEAR QLOCAL
Compaq
(DIGITAL)
OpenVMS
OS/390 OS/400 OS/2 Warp Compaq NSK UNIX systems Windows NT
UUUUUUU
Use CLEAR QLOCAL to clear the messages from a local queue.
Synonym: CLEAR QL
CLEAR QLOCAL
 CLEAR QLOCAL(q-name)
CMDSCOPE(’’) (1)
(2)
CMDSCOPE(qmgr-name)
(2)
CMDSCOPE(*)
QSGDISP(PRIVATE) (1)
(2)
QSGDISP(SHARED)
!
Notes:
1 Valid only on OS/390.
2 Valid only when the queue manager is a member of a queue-sharing group.
You can use queue-sharing groups only on MQSeries for OS/390.
Parameter descriptions
You must specify which local queue you want to clear.
The command fails if either:
v The queue has uncommitted messages that have been put on the queue under
syncpoint
v The queue is currently open by an application (with any open options)
If an application has this queue open, or has a queue open that eventually resolves
to this queue, the command fails. The command also fails if this queue is a
transmission queue, and any queue that is, or resolves to, a remote queue that
references this transmission queue, is open.
q-name The name of the local queue to be cleared. The name must be defined to
the local queue manager.
CMDSCOPE
This parameter applies to OS/390 only and specifies how the command is
executed when the queue manager is a member of a queue-sharing group.
CMDSCOPE must be blank, or the local queue manager, if QSGDISP is set
to SHARED.
‘’ The command is executed on the queue manager on which it was
entered. This is the default value.
CLEAR QLOCAL
54
MQSeries MQSC Command Reference
|
|
|
|
|
||
|