Channel configuration

The following section details the configuration to be performed on the HP-UX queue manager to implement the channel described in Figure 32.

In each case the MQSC command is shown. Either start runmqsc from a UNIX(R) prompt and enter each command in turn, or build the commands into a command file.

Examples are given for connecting WebSphere MQ for HP-UX and WebSphere MQ for Windows. If you wish connect to WebSphere MQ on another platform use the appropriate set of values from the table in place of those for Windows.

Note:
The words in bold are user-specified and reflect the names of WebSphere MQ objects used throughout these examples. If you change the names used here, ensure that you also change the other references made to these objects throughout this book. All others are keywords and should be entered as shown.
Table 20. Configuration worksheet for WebSphere MQ for HP-UX
ID Parameter Name Reference Example Used User Value
Definition for local node
 A  Queue Manager Name HPUX
 B  Local queue name HPUX.LOCALQ
Connection to WebSphere MQ for Windows

The values in this section of the table must match those used in Table 14, as indicated.

 C  Remote queue manager name  A  WINNT
 D  Remote queue name WINNT.REMOTEQ
 E  Queue name at remote system  B  WINNT.LOCALQ
 F  Transmission queue name WINNT
 G  Sender (SNA) channel name HPUX.WINNT.SNA
 H  Sender (TCP/IP) channel name HPUX.WINNT.TCP
 I  Receiver (SNA) channel name  G  WINNT.HPUX.SNA
 J  Receiver (TCP) channel name  H  WINNT.HPUX.TCP
Connection to WebSphere MQ for AIX

The values in this section of the table must match those used in Table 18, as indicated.

 C  Remote queue manager name  A  AIX(R)
 D  Remote queue name AIX.REMOTEQ
 E  Queue name at remote system  B  AIX.LOCALQ
 F  Transmission queue name AIX
 G  Sender (SNA) channel name HPUX.AIX.SNA
 H  Sender (TCP) channel name HPUX.AIX.TCP
 I  Receiver (SNA) channel name  G  AIX.HPUX.SNA
 J  Receiver (TCP) channel name  H  AIX.HPUX.TCP
Connection to MQSeries for Compaq Tru64 UNIX

The values in this section of the table must match those used in your Compaq Tru64 UNIX system.

 C  Remote queue manager name  A  DECUX
 D  Remote queue name DECUX.REMOTEQ
 E  Queue name at remote system  B  DECUX.LOCALQ
 F  Transmission queue name DECUX
 H  Sender (TCP) channel name DECUX.HPUX.TCP
 J  Receiver (TCP) channel name  H  HPUX.DECUX.TCP
Connection to WebSphere MQ for Solaris

The values in this section of the table must match those used in Table 22, as indicated.

 C  Remote queue manager name  A  SOLARIS
 D  Remote queue name SOLARIS.REMOTEQ
 E  Queue name at remote system  B  SOLARIS.LOCALQ
 F  Transmission queue name SOLARIS
 G  Sender (SNA) channel name HPUX.SOLARIS.SNA
 H  Sender (TCP/IP) channel name HPUX.SOLARIS.TCP
 I  Receiver (SNA) channel name  G  SOLARIS.HPUX.SNA
 J  Receiver (TCP/IP) channel name  H  SOLARIS.HPUX.TCP
Connection to WebSphere MQ for Linux

The values in this section of the table must match those used in Table 24, as indicated.

 C  Remote queue manager name  A  LINUX
 D  Remote queue name LINUX.REMOTEQ
 E  Queue name at remote system  B  LINUX.LOCALQ
 F  Transmission queue name LINUX
 G  Sender (SNA) channel name HPUX.LINUX.SNA
 H  Sender (TCP/IP) channel name HPUX.LINUX.TCP
 I  Receiver (SNA) channel name  G  LINUX.HPUX.SNA
 J  Receiver (TCP/IP) channel name  H  LINUX.HPUX.TCP
Connection to WebSphere MQ for iSeries

The values in this section of the table must match those used in Table 36, as indicated.

 C  Remote queue manager name  A  AS400
 D  Remote queue name AS400.REMOTEQ
 E  Queue name at remote system  B  AS400.LOCALQ
 F  Transmission queue name AS400
 G  Sender (SNA) channel name HPUX.AS400.SNA
 H  Sender (TCP/IP) channel name HPUX.AS400.TCP
 I  Receiver (SNA) channel name  G  AS400.HPUX.SNA
 J  Receiver (TCP) channel name  H  AS400.HPUX.TCP
Connection to WebSphere MQ for z/OS

The values in this section of the table must match those used in Table 28, as indicated.

 C  Remote queue manager name  A  MVS(TM)
 D  Remote queue name MVS.REMOTEQ
 E  Queue name at remote system  B  MVS.LOCALQ
 F  Transmission queue name MVS
 G  Sender (SNA) channel name HPUX.MVS.SNA
 H  Sender (TCP) channel name HPUX.MVS.TCP
 I  Receiver (SNA) channel name  G  MVS.HPUX.SNA
 J  Receiver (TCP) channel name  H  MVS.HPUX.TCP
Connection to MQSeries for VSE/ESA

The values in this section of the table must match those used in your VSE/ESA(TM) system.

 C  Remote queue manager name  A  VSE
 D  Remote queue name VSE.REMOTEQ
 E  Queue name at remote system  B  VSE.LOCALQ
 F  Transmission queue name VSE
 G  Sender channel name HPUX.VSE.SNA
 I  Receiver channel name  G  VSE.HPUX.SNA

WebSphere MQ for HP-UX sender-channel definitions using SNA

def ql (WINNT) +                                  F 
    usage(xmitq) +
    replace
 
def qr (WINNT.REMOTEQ) +                          D 
    rname(WINNT.LOCALQ) +                         E 
    rqmname(WINNT) +                              C 
    xmitq(WINNT) +                                F 
    replace
 
def chl (HPUX.WINNT.SNA) chltype(sdr) +           G 
    trptype(lu62) +
    conname('WINNTCPIC') +                        16 
    xmitq(WINNT) +                                F 
    replace

WebSphere MQ for HP-UX receiver-channel definitions using SNA

def ql (HPUX.LOCALQ) replace                    B 
 
def chl (WINNT.HPUX.SNA) chltype(rcvr) +          I 
    trptype(lu62) +
    replace

WebSphere MQ for HP-UX invokable TP setup

This is not required for HP SNAplus2 Release 6.

During the HP SNAplus2 configuration process, you created an invokable TP definition, which points to an executable file. In the example, the file was called /users/interops/HPUX.crs6a. You can choose what you call this file, but you are recommended to include the name of your queue manager in the name. The contents of the executable file must be:

#!/bin/sh
/opt/mqm/bin/amqcrs6a -m hpux

where hpux is the name of your queue manager  A .

This ensures that SNA receiver channels activate correctly when a sender channel initiates a conversation.

WebSphere MQ for HP-UX sender-channel definitions using TCP

def ql (WINNT) +                                  F 
    usage(xmitq) +
    replace
 
def qr (WINNT.REMOTEQ) +                          D 
    rname(WINNT.LOCALQ) +                         E 
    rqmname(WINNT) +                              C 
    xmitq(WINNT) +                                F 
    replace
 
def chl (HPUX.WINNT.TCP) chltype(sdr) +           H 
    trptype(tcp) +
    conname(remote_tcpip_hostname) +
    xmitq(WINNT) +                                F 
    replace

WebSphere MQ for HP-UX receiver-channel definitions using TCP/IP

def ql (HPUX.LOCALQ) replace                    B 
 
def chl (WINNT.HPUX.TCP) chltype(rcvr) +          J 
    trptype(tcp) +
    replace