Before you Start

Command

Usage

 

 

SPDMQMCLQM (suspend cluster queue

to inform cluster queue managers that the local

manager)

queue manager is not available.

STRMQM (start message queue manger)

to start a local queue manager.

STRMQMCHL (start MQM channel)

to start a channel.

STRMQMCHLI (start MQM channel initiator)

to start a channel initiator.

STRMQMCSVR (start MQM command server)

to start a command server for a queue

 

manager.

STRMQMDLQ (start MQSeries dead-letter

to start the dead-letter queue handler.

queue handler)

 

STRMQMLSR (start MQM listener)

to start a message queue manager listener.

STRMQMMQSC (start MQSeries commands)

to initiate a set of MQSeries commands.

STRMQMTRM (start trigger monitor)

to start a trigger monitor.

TRCMQM (trace MQM job)

to start and stop MQSeries trace.

WRKMQM (work with message queue

to work with queue managers.

managers)

 

WRKMQMCHL (work with MQM channel)

to work with channel definitions.

WRKMQMCHST (work with MQM channel

to work with the status of channel definitions.

status)

 

WRKMQMCL (work with clusters)

to work with clusters.

WRKMQMCLQ (work with cluster queues)

to work with cluster queues.

WRKMQMMSG (work with MQM messages)

to work with specified messages on a local

 

queue.

WRKMQMNL (work with MQM namelists)

to work with namelists.

WRKMQMPRC (work with MQM process)

to work with process definitions.

WRKMQMQ (work with MQM queues)

to work with queues.

WRKMQMTRN (work with MQSeries

to work with in-doubt MQSeries transactions.

transactions)

 

 

 

MQSeries (MQSC) Commands

You use the MQSeries (MQSC) commands to manage queue manager objects, including the queue manager itself, channels, queues, and process definitions. For example, there are commands to define, alter, display, and delete a specified queue.

When you display a queue, using the DISPLAY QUEUE command, you display the queue attributes. For example, the MAXMSGL attribute specifies the maximum length of a message that can be put on the queue. The command does not show you the messages on the queue.

For detailed information about each MQSC command, see the MQSeries Command Reference.

Running MQSC Commands

You run MQSC commands by entering the CL command STRMQMMQSC on the command line. This allows you to run a series of commands that you have previously entered in a member of a source physical file.

36MQSeries for AS/400, V5.1 Quick Beginnings

Page 48
Image 48
IBM GC34-5557-00 manual MQSeries Mqsc Commands, Running Mqsc Commands