The destination of an APPC transaction request can be specified by using the &APPC ALLOCATE verb or in the TCT definition. If no destination is specified on the &APPC ALLOCATE verb, the destination in the TCT is used. If no destination is specified on the &APPC ALLOCATE verb or in the TCT, a default destination of ENV=CURRENT is assumed.
If the same destination always services a transaction request, you can specify a default destination in the TCT definition. To specify a default destination in a TCT definition, specify one of the following on the DEFTRANS command:
Example: Specify a Default Destination
To define an APPC link with a transaction ID of DBQUERY, a TPN of DB01, and a link name of NMB, enter the following command:
DEFTRANS TRANSID=DBQUERY TPN=DB01 LINK=NMB
Note: For more information about the options that can be specified in a TCT, see the description of the DEFTRANS command in the online help.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |