strmqcsv (start command server)

Start the command server for a queue manager.


Purpose

Use the strmqcsv command to start the command server for the specified queue manager. This enables IBM MQ to process commands sent to the command queue.

You must use the strmqcsv command from the installation associated with the queue manager that you are working with. We can find out which installation a queue manager is associated with using the dspmq -o installation command.

If the queue manager attribute, SCMDSERV, is specified as QMGR then changing the state of the command server using strmqcsv does not effect how the queue manager acts upon the SCMDSERV attribute at the next restart.


Syntax

strmqcsv -aQMgrName


Required parameters

None


Optional parameters

    -a
    Blocks the following PCF commands from modifying or displaying authority information:

    • Inquire authority records ( MQCMD_INQUIRE_AUTH_RECS )
    • Inquire entity authority ( MQCMD_INQUIRE_ENTITY_AUTH )
    • Set authority record ( MQCMD_SET_AUTH_REC ).
    • Delete authority record ( MQCMD_DELETE_AUTH_REC ).
    QMgrName
    The name of the queue manager on which to start the command server. If omitted, the default queue manager is used.


Return codes

Return code Description
0 Command completed normally
10 Command completed with unexpected results
20 An error occurred during processing


Examples

The following command starts a command server for queue manager earth:
strmqcsv earth


Related commands

Command Description
endmqcsv End a command server
dspmqcsv Display the status of a command server