[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 Performing local administration tasks using MQSC commands.

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 is required. The name must be that of an existing listener defined on the local queue manager.

[MQ 9.2.1 Dec 2020][AIX, Linux, Windows]IGNSTATE
This parameter allows you to specify whether you want the command to return an error code if the object is already in the state the command moves it to.
A value of YES means the return code and message are the same as if the MQSC object has not been deleted.

A value of NO means that the return code is zero, even if the object has been deleted. This is the default value.