[UNIX, Linux, Windows, IBM i]

DELETE LISTENER (delete a listener) on Multiplatforms

Use the MQSC command DELETE LISTENER to delete a listener definition.

Using MQSC commands

For information on how you use MQSC commands, see Administering IBM® MQ using MQSC commands.

Syntax diagram for DELETE LISTENER

Synonym: DELETE LSTR

DELETE LISTENER

Read syntax diagramSkip visual syntax diagram DELETE LISTENER ( listener-name ) IGNSTATE(NO)1IGNSTATE(YES)
Notes:
  • 1 Valid only on AIX®, Linux®, and Windows.

Usage notes for DELETE LISTENER

  1. The command fails if an application has the specified listener object open, or if the listener is currently running.

Keyword and parameter descriptions for DELETE LISTENER

(listener-name)
The name of the listener definition to be deleted. This parameter is required. The name must be that of an existing listener defined on the local queue manager.
[AIX, Linux, Windows]IGNSTATE
Specifies whether the command fails if the listener does not exist. The value can be one of the following values:
NO
The command fails if the listener does not exist. This is the default value.
YES
The command succeeds regardless of whether the listener exists.