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 (unless you specify the -f option).

Syntax

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.

-f
Force the listener processes to end.

The endmqlsr command does not check that the queue manager specified is running before ending its listeners.

Return codes

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



© IBM Corporation 1994, 2002. All Rights Reserved