gtpa3m0fApplication Requester User's Guide

Connecting a TPF System and a DB2 System Using LU 6.2

The routing between TPFAR and the DB2 system is through a channel-attached link station. This link station can be (1) a 37x5 with the Network Control Program (NCP) defining the TPF system as a type PU 2.1 or type 5 node or (2) a 3088 Channel-to-Channel (CTC) connection defining the TPF system as a type PU 5. At least one of these two types of channel link stations is required for communication between the TPF system and the DB2 system.

Defining the TPF Application LUs to VTAM

The LU 6.2 applications are defined on the TPF system with the MSGRTA macro. See Defining the Local TPF/APPC Applications for LU 6.2. How the TPF LU 6.2 applications are defined to VTAM depends on whether the TPF system is defined as a type PU 5 node or type PU 2.1 node. You need to code a CDRSC statement on VTAM when the TPF system is a type PU 5 node. You need to code an APPL statement on VTAM and an LU statement in the NCP generation when the TPF system is a type PU 2.1 node.

The name you use on the APPC statement has to match the name you used on MSGRTA to define the local TPF/APPC application. The local LU you described in a previous example was defined as TPAR or SVCx. The names on the LU statement in the NCP gen are TPARA30 and TPARA34. For further information about the VTAM APPL statement, the VTAM CDRSC statement, and the NCP LU statement, see the VTAM Resource Definition Reference Manual. For examples showing how to define LUs, see the TPF ACF/SNA Data Communications Reference.

Configuring the TPF System and a DB2/6000 System

To connect the TPF system to DB2 on RS/6000 systems there are changes required in a TPF system SIP macro and in the SNA Server/6000 settings.

SIP macro MSGRTA defines LU 6.2 applications running on the TPF system. When defining the TPF system applications for SNA Server/6000, the TPF system applications are defined as LU 6.2 partner LUs and the names used are the same as those used in the MSGRTA macro.

TPF system applications that are defined on the SNA Server/6000 have the following settings:

You must define the DB2/6000 system to SNA Server/6000 support as a local LU 6.2 logical unit.

Note:
You do not have to add the DB2/6000 LU name to the TPF system OSTG deck if dynamic LU definition support is active. If this support is not active, you must include the LU name in the OSTG deck as LUTYPE=L6PLU.

You must define all LU 6.2 mode names used for sessions between the TPF system and the DB2/6000 system to the SNA Server/6000. The important fields used as a part of mode definition are:

See the ESCON Users Guide and Service Information and SNA Channel Connectivity for AIX for information about these settings.