Notes:
AMQSBCG q_name qmgr_namedisplays the contents of the queue q_name defined in queue manager qmgr_name.
runmqlsr -t tcp
The listener enables receiver channels to start automatically in response to a start request from an inbound sender channel.
runmqchl -c channel.name
crtmqm -u dlqname -q os2where:
This command creates a queue manager and a set of default objects, and sets the DEADQ attribute of the queue manager.
LU62: TPName=MQSERIES (8) LocalLU=OS2QMGR (7)
If you have taken the default options for installation, the qm.ini file for queue manager os2 is found in c:\mqm\qmgrs\os2.
strmqm os2where os2 is the name given to the queue manager when it was created.
The following sections detail the configuration to be performed on the OS/2 queue manager to implement the channel described in Figure 32. In each case the MQSC command is shown.
Examples are given for connecting MQSeries for OS/2 Warp and WebSphere MQ for Windows. If you wish connect to another WebSphere MQ product use the appropriate set of values from the table in place of those for WebSphere MQ for Windows.
Table 16. Configuration worksheet for MQSeries for OS/2 Warp
| Parameter Name | Reference | Example Used | User Value |
---|---|---|---|---|
Definition for local node | ||||
(A) | Queue Manager Name |
| OS2 |
|
(B) | Local queue name |
| OS2.LOCALQ |
|
Connection to WebSphere MQ for Windows
The values in this section of the table must match those used in Table 18, 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 |
| OS2.WINNT.SNA |
|
(H) | Sender (TCP/IP) channel name |
| OS2.WINNT.TCP |
|
(I) | Receiver (SNA) channel name | (G) | WINNT.OS2.SNA |
|
(J) | Receiver (TCP/IP) channel name | (H) | WINNT.OS2.TCP |
|
(K) | Sender (NetBIOS) channel name |
| OS2.WINNT.NET |
|
(L) | Sender (SPX) channel name |
| OS2.WINNT.SPX |
|
(M) | Receiver (NetBIOS) channel name | (K) | WINNT.OS2.NET |
|
(N) | Receiver (SPX) channel name | (L) | WINNT.OS2.SPX |
|
Connection to WebSphere MQ for AIX
The values in this section of the table must match those used in Table 22, as indicated. | ||||
(C) | Remote queue manager name | (A) | AIX |
|
(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 |
| OS2.AIX.SNA |
|
(H) | Sender (TCP/IP) channel name |
| OS2.AIX.TCP |
|
(I) | Receiver (SNA) channel name | (G) | AIX.OS2.SNA |
|
(J) | Receiver (TCP) channel name | (H) | AIX.OS2.TCP |
|
Connection to Compaq Tru64 UNIX
The values in this section of the table must match those used in Table 23, as indicated. | ||||
(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.OS2.TCP |
|
(J) | Receiver (TCP) channel name | (H) | OS2.DECUX.TCP |
|
Connection to WebSphere MQ for HP-UX
The values in this section of the table must match those used in Table 25, as indicated. | ||||
(C) | Remote queue manager name | (A) | HPUX |
|
(D) | Remote queue name |
| HPUX.REMOTEQ |
|
(E) | Queue name at remote system | (B) | HPUX.LOCALQ |
|
(F) | Transmission queue name |
| HPUX |
|
(G) | Sender (SNA) channel name |
| OS2.HPUX.SNA |
|
(H) | Sender (TCP) channel name |
| OS2.HPUX.TCP |
|
(I) | Receiver (SNA) channel name | (G) | HPUX.OS2.SNA |
|
(J) | Receiver (TCP) channel name | (H) | HPUX.OS2.TCP |
|
Connection to MQSeries for AT&T GIS UNIX
The values in this section of the table must match those used in Table 27, as indicated. | ||||
(C) | Remote queue manager name | (A) | GIS |
|
(D) | Remote queue name |
| GIS.REMOTEQ |
|
(E) | Queue name at remote system | (B) | GIS.LOCALQ |
|
(F) | Transmission queue name |
| GIS |
|
(G) | Sender (SNA) channel name |
| OS2.GIS.SNA |
|
(H) | Sender (TCP) channel name |
| OS2.GIS.TCP |
|
(I) | Receiver (SNA) channel name | (G) | GIS.OS2.SNA |
|
(J) | Receiver (TCP) channel name | (H) | GIS.OS2.TCP |
|
Connection to WebSphere MQ for Solaris
The values in this section of the table must match those used in Table 30, as indicated. | ||||
(C) | Remote queue manager name |
| 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 |
| OS2.SOLARIS.SNA |
|
(H) | Sender (TCP/IP) channel name |
| OS2.SOLARIS.TCP |
|
(I) | Receiver (SNA) channel name | (G) | SOLARIS.OS2.SNA |
|
(J) | Receiver (TCP/IP) channel name | (H) | SOLARIS.OS2.TCP |
|
Connection to WebSphere MQ for iSeries
The values in this section of the table must match those used in Table 49, as indicated. | ||||
(C) | Remote queue manager name |
| 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 |
| OS2.AS400.SNA |
|
(H) | Sender (TCP/IP) channel name |
| OS2.AS400.TCP |
|
(I) | Receiver (SNA) channel name | (G) | AS400.OS2.SNA |
|
(J) | Receiver (TCP) channel name | (H) | AS400.OS2.TCP |
|
Connection to WebSphere MQ for z/OS without CICS
The values in this section of the table must match those used in Table 34, as indicated. | ||||
(C) | Remote queue manager name |
| MVS |
|
(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 |
| OS2.MVS.SNA |
|
(H) | Sender (TCP) channel name |
| OS2.MVS.TCP |
|
(I) | Receiver (SNA) channel name | (G) | MVS.OS2.SNA |
|
(J) | Receiver (TCP) channel name | (H) | MVS.OS2.TCP |
|
Connection to WebSphere MQ for z/OS using queue sharing groups
The values in this section of the table must match those used in Table 43, as indicated. | ||||
(C) | Remote queue manager name |
| QSG |
|
(D) | Remote queue name |
| QSG.REMOTEQ |
|
(E) | Queue name at remote system | (B) | QSG.SHAREDQ |
|
(F) | Transmission queue name |
| QSG |
|
(G) | Sender (SNA) channel name |
| OS2.QSG.SNA |
|
(H) | Sender (TCP) channel name |
| OS2.QSG.TCP |
|
(I) | Receiver (SNA) channel name | (G) | QSG.OS2.SNA |
|
(J) | Receiver (TCP) channel name | (H) | QSG.OS2.TCP |
|
Connection to MQSeries for VSE/ESA
The values in this section of the table must match those used in Table 51, as indicated. | ||||
(C) | Remote queue manager name |
| 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 |
| OS2.VSE.SNA |
|
(I) | Receiver channel name | (G) | VSE.OS2.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 (OS2.WINNT.SNA) chltype(sdr) + (G) trptype(lu62) + conname('NETID.WINNTLU') + (13).(15) xmitq(WINNT) + (F) modename('#INTER') + (17) tpname('MQSERIES') + (18) replace
def ql (OS2.LOCALQ) replace (B) def chl (WINNT.OS2.SNA) chltype(rcvr) + (I) trptype(lu62) + replace
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 (OS2.WINNT.TCP) chltype(sdr) + (H) trptype(tcp) + conname(remote_tcpip_hostname) + xmitq(WINNT) + (F) replace
def ql (OS2.LOCALQ) replace (B) def chl (WINNT.OS2.TCP) chltype(rcvr) + (J) trptype(tcp) + replace
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 (OS2.WINNT.NET) chltype(sdr) + (K) trptype(netbios) + conname(remote NetBIOS name) + xmitq(WINNT) + (F) replace
def ql (OS2.LOCALQ) replace (B) def chl (WINNT.OS2.NET) chltype(rcvr) + (M) trptype(netbios) + replace
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 (OS2.WINNT.SPX) chltype(sdr) + (L) trptype(spx) + conname('network.node(socket)') + xmitq(WINNT) + (F) replace
def ql (OS2.LOCALQ) replace (B) def chl (WINNT.OS2.SPX) chltype(rcvr) + (N) trptype(spx) + replace
MQSeries for OS/2 Warp provides the flexibility to run sender channels as OS/2 processes or OS/2 threads. This is specified in the MCATYPE parameter on the sender channel definition. Each installation should select the type appropriate for their application and configuration. Factors affecting this choice are discussed below.
Most installations will select to run their sender channels as threads, because the virtual and real memory required to support a large number of concurrent channel connections will be reduced. When the WebSphere MQ listener process (started via the RUNMQLSR command) exhausts the available private memory needed, an additional listener process will need to be started to support more channel connections. When each channel runs as a process, additional processes are automatically started, avoiding the out-of-memory condition.
If all channels are run as threads under one WebSphere MQ listener, a failure of the listener for any reason will cause all channel connections to be temporarily lost. This can be prevented by balancing the threaded channel connections across two or more listener processes, thus enabling other connections to keep running. If each sender channel is run as a separate process, the failure of the listener for that process will affect only that specific channel connection.
A NetBIOS connection needs a separate process for the Message Channel Agent. Therefore, before you can issue a START CHANNEL command, you must start the channel initiator, or you may start a channel using the RUNMQCHL command.