Two domains SYSA and SYSB are connected via an APPC link. Transactions starting with the prefix DB (for example, DBQUERY, DBPUT, DBUPDT) are to be allocated in SYSA. The NCL procedures to service these transactions start with the prefix APPC (for example, APPCQRY, APPCPUT, APPCUPDT). This can be done using a single generic TCT entry.
To define a single TCT entry to service all of the above transactions
DEFTRANS TRANSID=DB* TPN=TP* LINK=B
DEFTRANS TRANSID=DB* TPN=TP* PROC=APPC*
This matches the TCT entry DB*. The matching characters in the transaction name are removed and the remaining characters (UPDT) are appended to the generic TPN (TP*) to get TPUPDT. This is the TPN sent to the remote domain. It matches the TCT entry for TP* and again the matching characters are removed. The remaining characters UPDT are appended to the generic procedure name APPC* to form the NCL procedure name APPCUPDT to be started.
| Copyright © 2010 CA. All rights reserved. |
|