gtpo1magOperations

ZMQSC MOVEMSGS-Move Messages

Use this command to move messages in a memory queue from a deactivated processor to another processor in the loosely coupled complex.

Requirements and Restrictions

Format




Queue-qname
specifies the normal local queue name on the originating central processing unit (CPU) whose messages will be moved to the CPU that entered this command, where qname is a 1- to 48-character queue name. A queue name can contain percent signs (%), slashes (/), underscores (_), periods (.), letters in either uppercase (A-Z) or lowercase (a-z), and digits (0-9). A queue name cannot begin or end with a period and cannot contain two consecutive periods.

CPU-cpuid
specifies the CPU identifier (ID) of the originating processor, where cpuid is a 1-character CPU ID.

FORCE
forces messages to be moved.

Additional Information

Online help information is available for this command. To display the help information, enter one of the following:

ZMQSC HELP

ZMQSC ?

Examples

In the following example, messages are moved successfully.

+--------------------------------------------------------------------------------+
|User:   ZMQSC MOVEMSGS QUEUE-Q1 CPU-C                                           |
|                                                                                |
|System: MQSC0220I 200 MESSAGES MOVED FROM QUEUE - Q1 SUCCESSFULLY               |
|                                                                                |
+--------------------------------------------------------------------------------+

In the following example, messages are not moved successfully.

+--------------------------------------------------------------------------------+
|User:   ZMQSC MOVEMSGS QUEUE-Q2 CPU-C                                           |
|                                                                                |
|System: MQSC223E 200 MESSAGES MOVED FROM QUEUE - Q2,  MOVE ABORTED,             |
|        UNABLE TO PUT MESSAGES WITH REASON CODE - 2030                          |
|                                                                                |
+--------------------------------------------------------------------------------+

Related Information

See MQSeries Command Reference for more information about the MQSeries product.