endmqcsv (end command server)

 

 

Purpose

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

 

Syntax

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

 

Required parameters

queue_manager
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