Establishing an LU 6.2 connection

This section describes how to establish an LU 6.2 connection.

Local node configuration

To configure the local node, you need to:

  1. Create a line description
  2. Add a routing entry

Creating a line description

  1. If the line description has not already been created use the command CRTLINTRN.
  2. Specify values for Line description ((6)) and Resource name ((7)).


    +--------------------------------------------------------------------------------+
    |                    Create Line Desc (Token-Ring) (CRTLINTRN)                   |
    |                                                                                |
    | Type choices, press Enter.                                                     |
    |                                                                                |
    | Line description . . . . . . . .   TOKENRINGL    Name                          |
    | Resource name  . . . . . . . . .   LIN041        Name, *NWID                   |
    | NWI type . . . . . . . . . . . .   *FR           *FR, *ATM                     |
    | Online at IPL  . . . . . . . . .   *YES          *YES, *NO                     |
    | Vary on wait . . . . . . . . . .   *NOWAIT       *NOWAIT, 15-180 (1 second)    |
    | Maximum controllers  . . . . . .   40            1-256                         |
    | Attached NWI . . . . . . . . . .   *NONE         Name, *NONE                   |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                         Bottom |
    | F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel      |
    | F13=How to use this display        F24=More keys                               |
    | Parameter LIND required.                                                     + |
    +--------------------------------------------------------------------------------+

Adding a routing entry

  1. Type the command ADDRTGE and press Enter.


    +--------------------------------------------------------------------------------+
    |                           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, * LI BL, *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                                                                  |
    | Parameter SBSD required.                                                     + |
    +--------------------------------------------------------------------------------+
  2. Specify your value for Subsystem description ((5)), and the values shown here for Routing entry sequence number, Compare value ((8)), Starting position, Program to call, and the Library containing the program to call.
  3. Type the command STRSBS subsystem description ((5)) and press Enter.

Connection to partner node

This example is for a connection to an OS/2 system, but the steps are the same for other nodes. The steps are:

  1. Create a controller description.
  2. Create a device description.
  3. Create CPI-C side information.
  4. Add a communications entry for APPC.
  5. Add a configuration list entry.

Creating a controller description

  1. At a command line type CRTCTLAPPC and press Enter.


    +--------------------------------------------------------------------------------+
    |                      Create Ctl Desc (APPC) (CRTCTLAPPC)                       |
    |                                                                                |
    |Type choices, press Enter.                                                      |
    |                                                                                |
    |Controller description . . . . .   OS2PU         Name                           |
    |Link type  . . . . . . . . . . .   *LAN          *FAX, *FR, *IDLC,              |
    |*LAN...                                                                         |
    |Online at IPL  . . . . . . . . .   *NO           *YES, *NO                      |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                        Bottom  |
    |F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel       |
    |F13=How to use this display        F24=More keys                                |
    |Parameter CTLD required.                                                     +  |
    +--------------------------------------------------------------------------------+
  2. Specify a value for Controller description ((12)), set Link type to *LAN, and set Online at IPL to *NO.
  3. Press Enter twice, followed by F10.


    +--------------------------------------------------------------------------------+
    |                       Create Ctl Desc (APPC) (CRTCTLAPPC)                      |
    |                                                                                |
    | Type choices, press Enter.                                                     |
    |                                                                                |
    | Controller description . . . . . > OS2PU         Name                          |
    | Link type  . . . . . . . . . . . > *LAN          *FAX, *FR, *IDLC, *LAN...     |
    | Online at IPL  . . . . . . . . . > *NO           *YES, *NO                     |
    | APPN-capable . . . . . . . . . .   *YES          *YES, *NO                     |
    | Switched line list . . . . . . .   TOKENRINGL    Name                          |
    |                + for more values                                               |
    | Maximum frame size . . . . . . .   *LINKTYPE     265-16393, 256, 265, 512...   |
    | Remote network identifier  . . .   NETID         Name, *NETATR, *NONE, *ANY    |
    | Remote control point . . . . . .   OS2PU         Name, *ANY                    |
    | Exchange identifier  . . . . . .                 00000000-FFFFFFFF             |
    | Initial connection . . . . . . .   *DIAL         *DIAL, *ANS                   |
    | Dial initiation  . . . . . . . .   *LINKTYPE     *LINKTYPE, *IMMED, *DELAY     |
    | LAN remote adapter address . . .   10005AFC5D83  000000000001-FFFFFFFFFFFF     |
    | APPN CP session support  . . . .   *YES          *YES, *NO                     |
    | APPN node type . . . . . . . . .   *ENDNODE      *ENDNODE, *LENNODE...         |
    | APPN transmission group number     1             1-20, *CALC                   |
    |                                                                        More... |
    | F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    |
    | F24=More keys                                                                  |
    |                                                                                |
    +--------------------------------------------------------------------------------+
  4. Specify values for Switched line list ((6)), Remote network identifier ((9)), Remote control point ((10)), and LAN remote adapter address ((16)).
  5. Press Enter.

Creating a device description

  1. Type the command CRTDEVAPPC and press Enter.


    +--------------------------------------------------------------------------------+
    |                     Create Device Desc (APPC) (CRTDEVAPPC)                     |
    |                                                                                |
    | Type choices, press Enter.                                                     |
    |                                                                                |
    | Device description . . . . . . .   OS2LU         Name                          |
    | Remote location  . . . . . . . .   OS2LU         Name                          |
    | Online at IPL  . . . . . . . . .   *YES          *YES, *NO                     |
    | Local location . . . . . . . . .   AS400LU       Name, *NETATR                 |
    | Remote network identifier  . . .   NETID         Name, *NETATR, *NONE          |
    | Attached controller  . . . . . .   OS2PU         Name                          |
    | Mode . . . . . . . . . . . . . .   *NETATR       Name, *NETATR                 |
    |                + for more values                                               |
    | Message queue  . . . . . . . . .   QSYSOPR       Name, QSYSOPR                 |
    |   Library  . . . . . . . . . . .     *LIBL       Name, *LIBL, *CURLIB          |
    | APPN-capable . . . . . . . . . .   *YES          *YES, *NO                     |
    | Single session:                                                                |
    |   Single session capable . . . .   *NO           *NO, *YES                     |
    |   Number of conversations  . . .                 1-512                         |
    |                                                                                |
    |                                                                                |
    |                                                                         Bottom |
    | F3=Exit   F4=Prompt   F5=Refresh   F10=Additional parameters   F12=Cancel      |
    | F13=How to use this display        F24=More keys                               |
    | Parameter DEVD required.                                                     + |
    +--------------------------------------------------------------------------------+
  2. Specify values for Device description ((13)), Remote location ((11)), Local location ((3)), Remote network identifier ((9)), and Attached controller ((12)).
Note:
You can avoid having to create controller and device descriptions manually by taking advantage of OS/400's auto-configuration service. Consult the OS/400 documentation for details.

Creating CPI-C side information

  1. Type CRTCSI and press F10.


    +--------------------------------------------------------------------------------+
    |                      Create Comm Side Information (CRTCSI)                     |
    |                                                                                |
    | Type choices, press Enter.                                                     |
    |                                                                                |
    | Side information . . . . . . . .   OS2CPIC       Name                          |
    |   Library  . . . . . . . . . . .     *CURLIB     Name, *CURLIB                 |
    | Remote location  . . . . . . . .   OS2LU         Name                          |
    | Transaction program  . . . . . .   MQSERIES                                    |
    |                                                                                |
    | Text 'description' . . . . . . .   *BLANK                                      |
    |                                                                                |
    |                                                                                |
    |                            Additional Parameters                               |
    |                                                                                |
    | Device . . . . . . . . . . . . .   *LOC          Name, *LOC                    |
    | Local location . . . . . . . . .   AS400LU       Name, *LOC, *NETATR           |
    | Mode . . . . . . . . . . . . . .   #INTER        Name, *NETATR                 |
    | Remote network identifier  . . .   NETID         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                                                                  |
    | Parameter CSI required.                                                        |
    +--------------------------------------------------------------------------------+
  2. Specify values for Side information ((14)), Remote location ((11)), Transaction program ((15)), Local location ((3)), Mode, and Remote network identifier ((9)).
  3. Press Enter.

Adding a communications entry for APPC

  1. At a command line type ADDCMNE and press Enter.


    +--------------------------------------------------------------------------------+
    |                       Add Communications Entry (ADDCMNE)                       |
    |                                                                                |
    | Type choices, press Enter.                                                     |
    |                                                                                |
    | Subsystem description  . . . . .   QCMN          Name                          |
    |   Library  . . . . . . . . . . .     *LIBL       Name, *LIBL, *CURLIB          |
    | Device . . . . . . . . . . . . .   OS2LU         Name, generic*, *ALL...       |
    | Remote location  . . . . . . . .                 Name                          |
    | Job description  . . . . . . . .   *USRPRF       Name, *USRPRF, *SBSD          |
    |   Library  . . . . . . . . . . .                 Name, *LIBL, *CURLIB          |
    | Default user profile . . . . . .   *NONE         Name, *NONE, *SYS             |
    | Mode . . . . . . . . . . . . . .   *ANY          Name, *ANY                    |
    | Maximum active jobs  . . . . . .   *NOMAX        0-1000, *NOMAX                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                                |
    |                                                                         Bottom |
    | F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    |
    | F24=More keys                                                                  |
    | Parameter SBSD required.                                                       |
    +--------------------------------------------------------------------------------+
  2. Specify values for Subsystem description ((5)) and Device ((13)), and press Enter.

Adding a configuration list entry

  1. Type ADDCFGLE *APPNRMT and press F4.


    +--------------------------------------------------------------------------------+
    |                    Add Configuration List Entries (ADDCFGLE)                   |
    |                                                                                |
    | Type choices, press Enter.                                                     |
    |                                                                                |
    | Configuration list type  . . . . > *APPNRMT      *APPNLCL, *APPNRMT...         |
    | APPN remote location entry:                                                    |
    |   Remote location name . . . . .   OS2LU         Name, generic*, *ANY          |
    |   Remote network identifier  . .   NETID         Name, *NETATR, *NONE          |
    |   Local location name  . . . . .   AS400LU       Name, *NETATR                 |
    |   Remote control point . . . . .   OS2PU         Name, *NONE                   |
    |   Control point net ID . . . . .   NETID         Name, *NETATR, *NONE          |
    |   Location password  . . . . . .   *NONE                                       |
    |   Secure location  . . . . . . .   *NO           *YES, *NO                     |
    |   Single session . . . . . . . .   *NO           *YES, *NO                     |
    |   Locally controlled session . .   *NO           *YES, *NO                     |
    |   Pre-established session  . . .   *NO           *YES, *NO                     |
    |   Entry 'description'  . . . . .   *BLANK                                      |
    |   Number of conversations  . . .   10            1-512                         |
    |                + for more values                                               |
    |                                                                                |
    |                                                                         Bottom |
    | F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    |
    | F24=More keys                                                                  |
    |                                                                                |
    +--------------------------------------------------------------------------------+
  2. Specify values for Remote location name ((11)), Remote network identifier ((9)), Local location name ((3)), Remote control point ((10)), and Control point net ID ((9)).
  3. Press Enter.

What next?

The LU 6.2 connection is now established. You are ready to complete the configuration. Go to WebSphere MQ for iSeries configuration.



© IBM Corporation 2002. All Rights Reserved