Previous Topic: Define a Transaction Control Table

Next Topic: Define a Qualified Transaction


Define Transactions

The DEFTRANS command is used to define a TCT. This command lets you define transactions between your domain and another LU.

Example: Define Transactions

To define a transaction with a transaction ID of DBQUERY and a TPN of DB01, enter the following command:

DEFTRANS TRANSID=DBQUERY TPN=DB01

When an NCL procedure wants to invoke a transaction with a transaction ID of DBQUERY, the TCT entry is located and the associated TPN is extracted. The TPN and any other information specified in the TCT entry is sent in an attach request to the remote system specified by the NCL procedure on the &APPC ALLOCATE verb.

If you want the transaction to start the NCL procedure DBQRY01 in the remote system, define the name of the procedure by using the PROC operand of the DEFTRANS command. This TCT entry must reside in the remote system.