endmqlsr (end listener)

Purpose

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

Stop the queue manager before issuing the endmqlsr command.

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

Read syntax diagramSkip visual syntax diagram>>-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