Home

 

endmqcsv (end command server)

 

 

Purpose

Use the endmqcsv command to stop the command server on the specified queue manager.

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

 

Syntax


    .- -c -.     >>-endmqcsv--+------+--QMgrName--------------------------------><     '- -i -'    

 

Required parameters

QMgrName

The name of the queue manager for which to end the command server.

 

Optional parameters

-c

Stops the command server in a controlled manner. The command server is allowed to complete the processing of any command message that it has already started. No new message is read from the command queue.

This is the default.

-i

Stops the command server immediately. Actions associated with a command message currently being processed might not complete.

 

Return codes

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

 

Examples

  1. The following command stops the command server on queue manager saturn.queue.manager:
    endmqcsv  -c saturn.queue.manager

    The command server can complete processing any command it has already started before it stops. Any new commands received remain unprocessed in the command queue until the command server is restarted.

  2. The following command stops the command server on queue manager pluto immediately:
    endmqcsv -i pluto

 

Related commands

strmqcsv Start a command server
dspmqcsv Display the status of a command server

 

Parent topic:

The control commands


fa15770_


 

Home