Home

 

DEFINE LISTENER

 

Compaq NSK HP OpenVMS i5/OS UNIX systems Windows z/OS
    X X X  

Use DEFINE LISTENER to define a new WebSphere MQ listener definition, and set its parameters.

Synonym: DEF LSTR


DEFINE LISTENER >>-DEFINE LISTENER--(--name--)---------------------------------->     (1)     >--+-TRPTYPE(LU62)--| LU62 attrs |-----------+------------------>    | (1) |       +-TRPTYPE(NETBIOS)--| NETBIOS attrs |-----+       | (1) |       +-TRPTYPE(SPX)--| SPX attrs |-------------+       '-TRPTYPE(TCP)--| TCP attrs |-------------'        .-CONTROL(MANUAL)----.    >--+------------------+--+--------------------+----------------><    '-| define attrs |-' +-CONTROL(QMGR)------+        '-CONTROL(STARTONLY)-'    LU62 attrs     (2)        .-TPNAME(' ')----------.    |--+----------------------+-------------------------------------|    '-TPNAME--(--string--)-'    NETBIOS attrs     (2) (2)        .-ADAPTER(0)-------------. .-COMMANDS(0)-------------.    |--+------------------------+--+-------------------------+------>    '-ADAPTER--(--integer--)-' '-COMMANDS--(--integer--)-'        (2) (2)        .-LOCLNAME(' ')----------. .-NTBNAMES(0)-------------.    >--+------------------------+--+-------------------------+------>    '-LOCLNAME--(--string--)-' '-NTBNAMES--(--integer--)-'        (2)        .-SESSIONS(0)-------------.    >--+-------------------------+----------------------------------|    '-SESSIONS--(--integer--)-'    SPX attrs     (2)         .-SOCKET(0)-------------.    |--+----------------------------+--+-----------------------+----|    | (3) | '-SOCKET--(--integer--)-'       '-BACKLOG------(--integer--)-'     TCP attrs     (2)         .-IPADDR(' ')----------.    |--+----------------------------+--+----------------------+----->    | (3) | '-IPADDR--(--string--)-'       '-BACKLOG------(--integer--)-'         (2)        .-PORT(0)-------------.    >--+---------------------+--------------------------------------|    '-PORT--(--integer--)-'    Define attrs     (2)        .-DESCR(' ')----------.     |--+---------------------+--+---------------------------+------->    '-DESCR--(--string--)-' '-LIKE--(--listener-name--)-'       .-NOREPLACE-.    >--+-----------+------------------------------------------------|    '-REPLACE---'   

Notes:

  1. Valid only on Windows.
  2. This is the default supplied with WebSphere MQ, but your installation might have changed it.

  3. When the BACKLOG attribute is left unchanged or when it is explicitly set to zero, the attribute is stored as zero by default in the listener object created by the DEFINE LISTENER command. However, when the listener is started, the default backlog value takes effect. For information about the default value of the BACKLOG attribute, see WebSphere MQ Intercommunication.

 

Parent topic:

The MQSC commands


sc11050_


 

Home