For an alias queue this is the local name of the alias queue to be deleted.
For a model queue this is the local name of the model queue to be deleted.
For a remote queue this is the local name of the remote queue to be deleted.
For a local queue this is the name of the local queue to be deleted. You must specify which queue you want to delete.
If an application has this queue open, or has open a queue 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.
If this queue has a SCOPE attribute of CELL, the entry for the queue is also deleted from the cell directory.
CMDSCOPE must be blank, or the local queue manager, if QSGDISP is set to GROUP or SHARED.
You can specify a queue manager name, other than the queue manager on which the command was entered, only if you are using a queue-sharing group environment and if the command server is enabled.
If the deletion is successful, the following command is generated and sent to all active queue managers in the queue-sharing group to make, or delete, local copies on page set zero:
DELETE queue(q-name) QSGDISP(COPY)
or, for a local queue only:
DELETE QLOCAL(q-name) NOPURGE QSGDISP(COPY)
The deletion of the group object takes effect even if the generated command with QSGDISP(COPY) fails.
DELETE QLOCAL(q-name) QSGDISP(COPY) PURGE
for each copy.
This is the default value.
The object definition resides in the shared repository. The object was defined using a command that had the parameters QSGDISP(SHARED). Any object residing on the page set of the queue manager that executes the command, or any object defined using a command that had the parameters QSGDISP(GROUP), is not affected by this command.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzaj1065 |