strmqm (start queue manager)

Purpose

Use the strmqm command to start a local queue manager.

When you run strmqm, WebSphere MQ checks the setting for capacity units. If the purchased processor capacity is not -1, it compares the number it finds with the number of processors. If the number is insufficient it issues an appropriate warning message, as follows:

is produced. and '

Syntax

>>-strmqm---+------+---+------+---+----------+-----------------><
            '- -c -'   '- -z -'   '-QMgrName-'
 

Optional parameters

-c
Starts the queue manager, redefines the default and system objects, then stops the queue manager. (Use the crtmqm command to create the default and system objects for a queue manager.) Any existing system and default objects belonging to the queue manager are replaced if you specify this flag.

-z
Suppresses error messages.

This flag is used within WebSphere MQ to suppress unwanted error messages. Because using this flag could result in loss of information, do not use it when entering commands on a command line.

QMgrName
The name of a local queue manager to start, by default the default queue manager.

Return codes

0 Queue manager started
3 Queue manager being created
5 Queue manager running
16 Queue manager does not exist
23 Log not available
24 Previously connected processes still accessing queue manager resources
49 Queue manager stopping
69 Storage not available
71 Unexpected error
72 Queue manager name error
100 Log location invalid

Examples

The following command starts the queue manager account:

strmqm account

Related commands

crtmqm Create a queue manager
dltmqm Delete a queue manager
endmqm End a queue manager



© IBM Corporation 1994, 2002. All Rights Reserved