Use this command to change a TPF MQSeries alias queue definition.
Requirements and Restrictions
- You can enter this command only in NORM state.
- You must define the queue manager profile by entering the ZMQSC DEF MQP
command before entering this command.
- Without single quotation marks (' ') specified, characters are
handled as uppercase only. If a TPF MQSeries object needs to be
case-sensitive, enclose the object in single quotation marks.
Format
- QA-qaname
- specifies the name of the alias queue to be changed, where qaname
is the 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). If the name is enclosed in single quotation marks, the
characters can be mixed case.
- TARGQ-tname
- specifies the name of the queue defined with the ZMQSC DEF QL or ZMQSC DEF
QR command to which this alias will refer, where tname is the 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). If the name is enclosed in single quotation marks, the
characters can be mixed case.
- PUT
- specifies one of the following:
- ENABLED
- specifies that applications can add messages to the queue.
- DISABLED
- specifies that applications cannot add messages to the queue.
- GET
- specifies one of the following:
- ENABLED
- specifies that applications can retrieve messages from the queue.
- DISABLED
- specifies that applications cannot retrieve messages from the
queue.
- DEFPSIST
- specifies one of the following:
- NO
- specifies that messages on the queue are lost when the queue manager is
restarted.
- YES
- specifies that messages on the queue are retained when the queue manager
is restarted.
Additional Information
Online help information is available for this command. To display
the help information, enter one of the following:
ZMQSC HELP
ZMQSC ?
Examples
The following example changes an alias queue.
+--------------------------------------------------------------------------------+
|User: ZMQSC ALT QA-'aq2' GET-DISABLED |
| |
|System: MQSC0148I 08.41.05 ALIAS QUEUE aq2 ALTERED |
+--------------------------------------------------------------------------------+
Related Information
See MQSeries Command Reference for more
information about the MQSeries product.