+

Search Tips | Advanced Search

IBM MQ for z/OS configuration

The following steps outline how to configure IBM MQ ; starting and configuring channels and listeners.

  1. Start the channel initiator using the command:
    /cpf   START CHINIT  1
    
  2. Start an LU 6.2 listener using the command:
    /cpf   START LSTR LUNAME( M1 ) TRPTYPE(LU62)
    

    The LUNAME of M1 refers to the symbolic name you gave your LU (5). You must specify TRPTYPE(LU62), otherwise the listener assumes that you want TCP.

  3. Start a TCP listener using the command:
    /cpf   START LSTR
    
    If you want to use a port other than 1414 (the default IBM MQ port), use the command:
    /cpf   START LSTR PORT( 1555 )
    

IBM MQ channels do not initialize successfully if the channel negotiation detects that the message sequence number is different at each end. You might need to reset these channels manually.