Previous Topic: Run Conversations Within the Same Domain

Next Topic: Run an APPC Link Between a Domain and a Remote LU


Run with Already Verified Security

An APPC link is to be established between two domains SYSA and SYSB. The link is to service transactions that may require data mapping support.

To define a link between SYSA and SYSB with data mapping support

  1. Define the following DLT entries in SYSA and SYSB that specifies an OSCT entry that supports data mapping:
    DEFLINK LINK=L01 LU=SYSB TYPE=APPC OPSET=NMMAP (in SYSA)
    
    DEFLINK LINK=L02 LU=SYSA TYPE=APPC OPSET=NMMAP (in SYSB)
    
  2. Define the following OSCT entry, NMMAP, in both domains:
    DEFOPSET OPSET=NMMAP MODE=MODELU62 SEC=USER MAP=YES +
    
    LOG=YES PARSESS=YES
    

    SEC=USER indicates that the already verified indicator is to be accepted from the remote domain

    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, MODELU62 in both domains:
    DEFMODE MODE=MODELU62 SESSLIM=4 MINWIN=1 MINLOSE=0
    

    The LU6.2 mode name defined is MODELU62 which supports a maximum of 4 sessions.

  4. Define the following TCT definitions in each domain to allow the invocation of the DBQURY01 NCL procedure:
    DEFTRANS TRANSID=DBQUERY TPN=DB01 LINK=L01
    
    MODENAME=MODELU62 (in SYSA)
    
    DEFTRANS TRANSID=DBQUERY TPN=DB01 PROC=DBQRY01 (in SYSB)
    

    A default mode name for conversation allocation has been specified.

  5. An NCL procedure in SYSA issues an allocation request for DBQUERY.

    The TCT entry is located and an attach request for DB01 built. The link name L01 in the TCT is used to locate the DLT and to determine the LU name of the destination, SYSB. The OSCT entry NMMAP nominated in the DLT and the corresponding MCT entry MODELU62 nominated in the OSCT are also located. If the link is not already active the DLT entry is used to start link activation and a parallel session link with data mapping support is established.

    Once the link is active and a session is available the attach request for DB01 is sent to SYSB. Attach processing finds the TCT entry for DB01 and the NCL procedure, DBQRY01 is started.