Home

 

Parameter descriptions

 

The parameter descriptions also apply to the ALTER LISTENER command, with the following exceptions:

(listener-name)

Name of the WebSphere MQ listener definition (see Rules for naming WebSphere MQ objects). This is required.

The name must not be the same as any other listener definition currently defined on this queue manager (unless REPLACE is specified).

ADAPTER(integer)

The adapter number on which NetBIOS listens. By default, the listener uses adapter 0. This parameter is valid only on Windows when TRPTYPE is NETBIOS.

BACKLOG(integer)

The number of concurrent connection requests that the listener supports. If you do not specify a value, the default value defined by the protocol is used.

COMMANDS(integer)

The number of commands that the listener can use. If you do not specify a value, the default value defined by the protocol is used. This parameter is valid only on Windows when TRPTYPE is NETBIOS.

CONTROL(string)

Specifies how the listener is to be started and stopped.:

MANUAL

The listener is not to be started automatically or stopped automatically. It is to be controlled by use of the START LISTENER and STOP LISTENER commands. This is the default value.

QMGR

The listener being defined is to be started and stopped at the same time as the queue manager is started and stopped.

STARTONLY

The listener is to be started at the same time as the queue manager is started, but is not requested to stop when the queue manager is stopped.

DESCR(string)

Plain-text comment. It provides descriptive information about the listener when an operator issues the DISPLAY LISTENER command (see DISPLAY LISTENER).

It should contain only displayable characters. The maximum length is 64 characters. In a DBCS installation, it can contain DBCS characters (subject to a maximum length of 64 bytes).

If characters are used that are not in the coded character set identifier (CCSID) for this queue manager, they might be translated incorrectly if the information is sent to another queue manager.

IPADDR(string)

IP address for the listener specified in IPv4 dotted decimal, IPv6 hexadecimal notation, or alphanumeric hostname form. If you do not specify a value for this parameter, the listener listens on all configured IPv4 and IPv6 stacks.

LIKE(listener-name)

The name of a listener, whose parameters are used to model this definition.

This parameter applies only to the DEFINE LISTENER command.

If this field is not filled in, and you do not complete the parameter fields related to the command, the values are taken from the default definition for listeners on this queue manager. This is equivalent to specifying:

LIKE(SYSTEM.DEFAULT.LISTENER)

A default listener is provided but it can be altered by the installation of the default values required. See Rules for naming WebSphere MQ objects.

LOCLNAME(string)

The NetBIOS local name that the listener uses. This parameter is valid only on Windows when TRPTYPE is NETBIOS.

NTBNAMES(integer)

The number of names that the listener can use. If you do not specify a value, the default value defined by the protocol is used. This parameter is valid only on Windows when TRPTYPE is NETBIOS.

PORT(integer)

The port number for TCP/IP. This is valid only when TRPTYPE is TCP.

REPLACE and NOREPLACE

Whether the existing definition is to be replaced with this one. This is optional. The default is NOREPLACE.

This parameter applies only to the DEFINE LISTENER command.

REPLACE

The definition should replace any existing definition of the same name. If a definition does not exist, one is created.

NOREPLACE

The definition should not replace any existing definition of the same name.

SESSIONS(integer)

The number of sessions that the listener can use. If you do not specify a value, the default value defined for the protocol is used. This parameter is valid only on Windows when TRPTYPE is NETBIOS.

SOCKET(integer)

The SPX socket on which to listen. This is valid only if TRPTYPE is SPX.

TPNAME(string)

The LU 6.2 transaction program name (maximum length 64 characters). This parameter is valid only on Windows when TRPTYPE is LU62.

TRPTYPE(string)

The transmission protocol to be used:

LU62

SNA LU 6.2. This is valid only on Windows.

NETBIOS

NetBIOS. This is valid only on Windows.

SPX

Sequenced packet exchange. This is valid only on Windows.

TCP

TCP/IP.

 

Parent topic:

DEFINE LISTENER


sc11060_


 

Home