You must specify the names of two local queues: the one you want to move messages from (the source queue) and the one you want to move the messages to (the target queue).
The command fails if the queue contains uncommitted messages.
If an application has this queue open, or has open a queue that eventually resolves to this queue, the command fails. For example, the command 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.
An application can open this queue while the command is in progress but the application waits until the command has completed.
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.
The command fails if the target queue already contains one or more messages. The messages are deleted from the source queue. This is the default value.
The messages are deleted from the source queue.
The name of the target queue can be the same as that of the source queue only if the queue exists as both a shared and a private queue. In this case, the command moves messages to the queue that has the opposite disposition (shared or private) from that specified for the source queue on the QSGDISP parameter.
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.
No application can open this queue while the command is in progress.
If you specify TYPE(MOVE), the command fails if the target queue already contains one or more messages.
The DEFTYPE, HARDENBO, and USAGE parameters of the target queue must be the same as those of the source queue.
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
csqzaj10105 |