Previous Topic: Run with Already Verified Security

Next Topic: Run a Qualified Transaction


Run an APPC Link Between a Domain and a Remote LU

An APPC link is to be established between a domain and an OS/2 work station. The link is to service transactions with no data mapping requirements.

OS/2 requires that the mode name match a valid LU6.2 VTAM logmode, therefore in addition to a DLT, you need to define an OSCT and its associated MCT.

To run an APPC link between your domain and an OS/2 workstation

  1. Define the following DLT in your domain:
    DEFLINK LINK=WRKS01 LU=OS2001 TYPE=APPC OPSET=WRKSOPST
    

    WRKSOPST is the name of the OSCT entry to be used.

    Note: Ensure that you enable APPC links in your OS/2 system.

  2. Define the following OSCT entry in your domain:
    DEFOPSET OPSET=WRKSOPST MODE=LU62SESS LOG=YES MAP=NO
    

    LU62SESS is the name of the MCT entry to be used.

    Note: If you want the link to be a single session link, specify the PARSESS=NO operand and a MODE that supports single session links in the OSCT entry.

  3. Define the following MCT entry in your domain:
    DEFMODE MODE=LU62SESS LOGMODE=LU62SESS SESSLIM=20 +
    
    MINWIN=1 MINLOSE=0
    

    The LU6.2 mode name defined is LU62SESS and supports a maximum of 20 sessions. A logmode has been specified and is the same as the LU6.2 mode name LU62SESS. OS/2 requires mode names to match a valid VTAM logmode entry.

  4. Define the following TCT entries so that the DBQUERY transaction can be invoked from the workstation and the database interrogated in SYSA:
    DEFTRANS TRANSID=DBQUERY TPN=DB01 PROC=DBQRY01
    
  5. A program running in the workstation issues an allocation request for TPN DB01.

Your domain receives an LU6.2 session request from LU OS2001. The LU name is used to locate the DLT for LU OS2001. The associated OSCT and MCT are also located. A parallel session link with no data mapping support is established. The workstation sends an attach request for DB01 to your domain. The TCT for DB01 is located by your domain and the procedure DBQRY01 is started to service the transaction.