Home

 

endmqlsr (end listener)

 

 

Purpose

The endmqlsr command ends all listener processes for the specified queue manager.

You do not need to stop the queue manager before issuing the endmqlsr command. If any of the listeners are configured to have inbound channels running within the runmqlsr listener process, rather than within a pool process, the request to end that listener might fail if channels are still active. In this case a message is written indicating how many listeners were successfully ended and how many listeners are still running.

If the listener attribute, CONTROL, is specified as QMGR then changing the state of the listener using endmqlsr does not effect how the queue manager acts upon the CONTROL attribute at the next restart.

 

Syntax


>>-endmqlsr--+------+--+----------------+----------------------><     '- -w -' '- -m --QMgrName-'   

 

Optional parameters

-m QMgrName

The name of the queue manager. If you omit this, the command operates on the default queue manager.

-w

Wait before returning control.

Control is returned to you only after all listeners for the specified queue manager have stopped.

 

Return codes

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

 

Parent topic:

The control commands


fa15780_


 

Home