The problem is that we have two progs existing PGMA and PGMB. PGMA initiates PGMB by means of issuing start(Tran B). Where TranB is the transaction associated with PGMB. The issue now is that we have multiple transactions invoking TranB by the same method. Now it has become necessary to determine which PGM initiated the TRANB. Now passing it would mean changes to all the Programs that initiate this ProgB as well as ProgB, which i want to avoid. Can you or anyone else help me???
Using teh REQID option too you can pass the info when issueing START command and could retrive that info in the second prog using EIBREQID but still you need to modify all those START calls.
START is an asynchronous process intiating command ie,the intiating tran doesnot have to wait for the second transaction to complete and the second transaction would defenetily should know after processing where the data has to be placed.
In this scenario if you explicty require the info of first transaction you may want to change all those intitating transaction START calls to pass the prog and transaction info to the asyncronosuly started transaction.
Iam not sure of any shorcuts avaialable for this..