Previous Topic: APPC Transactions

Next Topic: Remote Procedure Call (RPC) Transaction

START Transaction-Remote Process Start

The APPC in your product incorporates the system START transaction that allows any NCL procedure to be started as a new process through the &APPC START request. For example:

&APPC START PROC=proc DOMAIN=test ... 

The system TCT entry for the START transaction is used to complete the conversation setup options, including the transaction security requirements.

Any procedure that is designed to be started through the usual START command can be started in this manner by using APPC. The started procedure need not be aware that it was started through APPC. It has no access to the APPC conversation that established the new process and has no requirement to use any APPC facilities.

The new process can be created in any of the following ways:

The initiating process can request an immediate indication of the success or failure of the new process creation. It can pass the usual procedure initiation parameters to the target procedure. In addition, any subset of NCL variables, or MDO data, can be copied from the environment of the initiating procedure to that of the new process. Once the request completes all links between the initiating process and the new process are lost, and the new process operates completely independently of the initiating process.

Note: When a process is started as a dependent process, the usual NCL relationships hold true.