In WebSphere MQ for iSeries, a mode name, TP name, and connection name of a fully-qualified LU 6.2 connection can be used.
For other versions of WebSphere MQ for iSeries, a communications side information (CSI) object is required to define the LU 6.2 communications details for the sending end of a message channel. It is referred to in the CONNECTION NAME field of the Sender or Server channel definition for LU 6.2 connections. Further information on the communications side object is available in the AS/400 APPC Communications Programmer's Guide.
The initiated end of the link must have a routing entry definition to complement this CSI object. Further information on managing work requests from remote LU 6.2 systems is available in the AS/400 Programming: Work Management Guide.
See the Multiplatform APPC Configuration Guide and the following
table for information.
Table 47. Settings on the local OS/400 system for a remote queue manager platform
Remote platform | TPNAME |
---|---|
z/OS, or OS/390 or MVS/ESA without CICS | The same as in the corresponding side information on the remote queue manager. |
z/OS or OS/390 or MVS/ESA using CICS | CKRC relates to a sender channel on the OS/400 system.
CKSV relates to a requester channel on the OS/400 system. CKRC relates to a server channel on the OS/400 system. |
OS/400 | The same as the compare value in the routing entry on the OS/400 system. |
OS/2 | As specified in the OS/2 Run Listener command, or defaulted from the OS/2 queue manager configuration file. |
Compaq OpenVMS Alpha | As specified in the Digital OVMS Run Listener command. |
Compaq NonStop Kernel | The same as the TPNAME specified in the receiver-channel definition. |
Other UNIX systems | The invokable Transaction Program defined in the remote LU 6.2 configuration. |
Windows | As specified in the Windows Run Listener command, or the invokable Transaction Program that was defined using TpSetup on Windows. |
If you have more than one queue manager on the same machine, ensure that the TPnames in the channel definitions are unique.
Use the CRTMQMCHL command to define a channel of transport type *LU62. For versions previous to WebSphere MQ for iSeries V5.3, define the name of the CSI object that this channel will use in the CONNECTION NAME field. (See Creating a channel for details of how to do this.) Use of the CSI object is optional in WebSphere MQ for iSeries V5.1 or later.
The initiating end panel is shown in Figure Figure 115. You press F10 from the first panel displayed to obtain the complete panel as shown.
Figure 115. LU 6.2 communication setup panel - initiating end
+--------------------------------------------------------------------------------+
| Create Comm Side Information (CRTCSI) |
| |
| Type choices, press Enter. |
| |
| Side information . . . . . . . . > WINSDOA1 Name |
| Library . . . . . . . . . . . > QSYS Name, *CURLIB |
| Remote location . . . . . . . . > WINSDOA1 Name |
| Transaction program . . . . . . > MQSERIES |
| |
| Text 'description' . . . . . . . *BLANK |
| |
| |
| Additional Parameters |
| |
| Device . . . . . . . . . . . . . *LOC Name, *LOC |
| Local location . . . . . . . . . *LOC Name, *LOC, *NETATR |
| Mode . . . . . . . . . . . . . . JSTMOD92 Name, *NETATR |
| Remote network identifier . . . *LOC Name, *LOC, *NETATR, *NONE |
| Authority . . . . . . . . . . . *LIBCRTAUT Name, *LIBCRTAUT, *CHANGE... |
| |
| Bottom |
| F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display |
| F24=More keys |
+--------------------------------------------------------------------------------+
Complete the initiating end fields as follows:
The CSI object must be available in a library accessible to the program serving the message channel, for example, QSYS, QMQM, and QGPL.
If the name is incorrect, missing, or cannot be found then an error will occur on channel start up.
In short, this required parameter contains the logical unit name of the partner at the remote system, as defined in the device description that is used for the communication link between the two systems.
The Remote location name can be found by issuing the command DSPNETA on the remote system and seeing the default local location name.
This is a required parameter.
More information on SNA service transaction program names is in the SNA Transaction Programmer's Reference manual for LU Type 6.2.
If the receiving end is another iSeries system, the Transaction program name is used to match the CSI object at the sending end with the routing entry at the receiving end. This should be unique for each queue manager on the target iSeries system. (See the Program to call parameter under Initiated end (Receiver).) See also the Comparison data: compare value parameter in the Add Routing Entry panel.
Use the CRTMQMCHL command to define the receiving end of the message channel link with transport type *LU62. Leave the CONNECTION NAME field blank and ensure that the corresponding details match the sending end of the channel. (See Creating a channel for details of how to do this.)
To enable the initiating end to start the receiving channel, add a routing entry to a subsystem at the initiated end. The subsystem must be the one that allocates the APPC device used in the LU 6.2 sessions and, therefore, it must have a valid communications entry for that device. The routing entry calls the program that starts the receiving end of the message channel.
Use the OS/400 commands (for example, ADDRTGE) to define the end of the link that is initiated by a communication session.
The initiated end panel is shown in Figure Figure 116.
Figure 116. LU 6.2 communication setup panel - initiated end
+--------------------------------------------------------------------------------+
| Add Routing Entry (ADDRTGE) |
| |
| Type choices, press Enter. |
| |
| Subsystem description . . . . . QCMN Name |
| Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB |
| Routing entry sequence number . 1 1-9999 |
| Comparison data: |
| Compare value . . . . . . . . MQSERIES |
| |
| Starting position . . . . . . 37 1-80 |
| Program to call . . . . . . . . AMQCRC6B Name, *RTGDTA |
| Library . . . . . . . . . . . QMAS400 Name, *LIBL, *CURLIB |
| Class . . . . . . . . . . . . . *SBSD Name, *SBSD |
| Library . . . . . . . . . . . *LIBL Name, *LIBL, *CURLIB |
| Maximum active routing steps . . *NOMAX 0-1000, *NOMAX |
| Storage pool identifier . . . . 1 1-10 |
| |
| |
| |
| Bottom |
| F3=Exit F4=Prompt F5=Refresh F12=Cancel F13=How to use this display |
| F24=More keys |
| |
+--------------------------------------------------------------------------------+
The program, AMQCRC6A, is called for the default queue manager. This is a program supplied with WebSphere MQ for iSeries that sets up the environment and then calls AMQCRS6A.
For additional queue managers:
An example of this is shown in Figure Figure 117:
Figure 117. LU 6.2 communication setup panel - initiated end
+--------------------------------------------------------------------------------+
| Display Routing Entries |
| System: MY400 |
| Subsystem description: QCMN Status: ACTIVE |
| |
| Type options, press Enter. |
| 5=Display details |
| |
| Start |
| Opt Seq Nbr Program Library Compare Value Pos |
| 10 *RTGDTA 'QZSCSRVR' 37 |
| 20 *RTGDTA 'QZRCSRVR' 37 |
| 30 *RTGDTA 'QZHQTRG' 37 |
| 50 *RTGDTA 'QVPPRINT' 37 |
| 60 *RTGDTA 'QNPSERVR' 37 |
| 70 *RTGDTA 'QNMAPINGD' 37 |
| 80 QNMAREXECD QSYS 'AREXECD' 37 |
| 90 AMQCRC6A QMQMBW 'MQSERIES' 37 |
| 100 *RTGDTA 'QTFDWNLD' 37 |
| 150 *RTGDTA 'QMFRCVR' 37 |
| |
| |
| |
| F3=Exit F9=Display all detailed descriptions F12=Cancel |
| |
+--------------------------------------------------------------------------------+
In Figure Figure 117 sequence number 90 represents the default queue manager and provides compatibility with configurations from previous releases (that is, V3R2, V3R6, V3R7, and V4R2) of WebSphere MQ for iSeries. These releases allow one queue manager only. Sequence numbers 92 and 94 represent two additional queue managers called ALPHA and BETA that are created with libraries QMALPHA and QMBETA.
The AMQCRS6A job will not be able to take advantage of the normal iSeries work management features that are documented in the WebSphere MQ for iSeries V5.3 System Administration book because it is not started in the same way as other WebSphere MQ jobs. To change the run-time properties of the LU62 receiver jobs, you can do one of the following:
See the AS/400 Programming: Work Management Guide for more information about configuring Communication Jobs.