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
DEFLINK LINK=L01 LU=SYSB TYPE=APPC OPSET=NMMAP (in SYSA)
DEFLINK LINK=L02 LU=SYSA TYPE=APPC OPSET=NMMAP (in SYSB)
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.
DEFMODE MODE=MODELU62 SESSLIM=4 MINWIN=1 MINLOSE=0
The LU6.2 mode name defined is MODELU62 which supports a maximum of 4 sessions.
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.
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.
| Copyright © 2010 CA. All rights reserved. |
|