Before you Start
CL Commands
The AS/400 CL commands for MQSeries can be grouped as follows:
vChannel commands - used to create, start, and delete channels.
vCluster commands - used to work with queue manager clusters.
vCommand server commands - used to display, start, and end the command server.
vData type conversion command - used to convert data types.
v
vMedia recovery commands - used to record and
vMQSeries command - used to start a batch of MQSeries commands.
vName command - used to display object names.
vNamelist commands - used to work with namelists.
vProcess commands - used to change, copy, and delete processes.
vQueue commands - used to create, delete, and work with queues.
vQueue manager commands - used to connect, create, and delete queue managers.
vSecurity commands - used to display, grant, and revoke object authority.
vTrace command - used to trace service jobs.
vTransaction commands - used to display and resolve transactions.
vTrigger monitor commands - used to start trigger monitors.
Using CL Commands
You can enter CL commands from a command line.
The following table gives a brief description of each MQSeries CL command. To display online help for a CL command, enter the command and press F1. To see a full list of MQSeries commands, enter the command GO CMDMQM from the MQSeries menu.
Command | Usage |
|
|
CCTMQM (connect message queue manager) | supported only for compatibility with previous |
| releases. |
CHGMQM (change message queue manager) | to change the attributes of a message queue |
| manager. |
CHGMQMCHL (change MQM channel) | to change the attributes of an existing channel. |
CHGMQMNL (change MQM namelist) | to change the attributes of a namelist. |
CHGMQMPRC (change MQM process) | to change the attributes of a process definition. |
CHGMQMQ (change MQM queue) | to change the attributes of a queue. |
CLRMQMQ (clear MQM queue) | to delete all messages from a local queue. |
CPYMQMCHL (copy MQM channel) | to create a copy of an existing channel |
| definition. |
CPYMQMNL (copy MQM namelist) | to create a copy of a namelist. |
CPYMQMPRC (copy MQM process) | to create a copy of a process definition. |
CPYMQMQ (copy MQM queue) | to create a copy of an existing queue definition. |
CRTMQM (create message queue manager) | to create a local queue manager. |
CRTMQMCHL (create MQM channel) | to create a new channel definition. |
|
|