Connection to partner node
To connect to a partner node, we need to: create a controller description, create a device description, create CPI-C side information, add a communications entry for APPC, and add a configuration list entry.
This example is for a connection to a Windows system, but the steps are the same for other nodes.
Create a controller description
- At a command-line, type CRTCTLAPPC and press enter.
Create Ctl Desc (APPC) (CRTCTLAPPC) Type choices, press Enter. Controller description . . . . . WINNTCP 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. +- Specify a value for Controller description (12), set Link type to *LAN, and set Online at IPL to *NO.
- Press enter twice, followed by F10.
Create Ctl Desc (APPC) (CRTCTLAPPC) Type choices, press Enter. Controller description . . . . . > WINNTCP 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 . . . . . . WINNTCP 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- Specify values for Switched line list (6), Remote network identifier (9), Remote control point (10), and LAN remote adapter address (16).
- Press enter.
Create a device description
- Type the command CRTDEVAPPC and press enter.
Create Device Desc (APPC) (CRTDEVAPPC) Type choices, press Enter. Device description . . . . . . . WINNTLU Name Remote location . . . . . . . . WINNTLU Name Online at IPL . . . . . . . . . *YES *YES, *NO Local location . . . . . . . . . AS400LU Name, *NETATR Remote network identifier . . . NETID Name, *NETATR, *NONE Attached controller . . . . . . WINNTCP 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. +- Specify values for Device description (13), Remote location (11), Local location (3), Remote network identifier (9), and Attached controller (12).
Note: We can avoid having to create controller and device descriptions manually by taking advantage of the IBM i auto-configuration service. Consult the IBM i documentation for details.
Create CPI-C side information
- Type CRTCSI and press F10.
Create Comm Side Information (CRTCSI) Type choices, press Enter. Side information . . . . . . . . NTCPIC Name Library . . . . . . . . . . . *CURLIB Name, *CURLIB Remote location . . . . . . . . WINNTLU 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.- Specify values for Side information (14), Remote location (11), Transaction program (15), Local location (3), Mode, and Remote network identifier (9).
- Press enter.
Adding a communications entry for APPC
- 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 . . . . . . . . . . . . . WINNTLU 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.- Specify values for Subsystem description (5) and Device (13), and press enter.
Adding a configuration list entry
- 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 . . . . . WINNTLU Name, generic*, *ANY Remote network identifier . . NETID Name, *NETATR, *NONE Local location name . . . . . AS400LU Name, *NETATR Remote control point . . . . . WINNTCP 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- 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).
- Press enter.
Parent topic: Establishing an LU 6.2 connection