View previous topic :: View next topic |
Author |
Message |
mikeg Beginner
Joined: 25 Aug 2003 Posts: 12 Topics: 6
|
Posted: Wed Oct 29, 2003 12:14 pm Post subject: BTS |
|
|
I have a program running under BTS. This program along with other programs creates CONTAINERS. The program performs an EXEC CICS START on another transaction (non BTS). I want this new transaction to get the containers, and create new containers. How does the original BTS transaction find out what the process/activity is, so it can tell this new transaction, so it can do a RETRIEVE REATTACH? |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed Oct 29, 2003 6:08 pm Post subject: |
|
|
Mikeg,
Make the second transaction(child) to be activated a LINK ACTIVITY command, the calling activity .Now the orginal transaction(parent) is suspended till the child activaty is complete.With a RETURN ENDACTIVITY command issued by the child activity, the parent activity is resumed. When the child activity ends, its completion event is fired. CICS BTS reactivates the corresponding parent activity, presenting the child's completion event when the RETRIEVE REATTACH command is executed. The parent activity must then
investigate how the child activity completed by issuing the CHECK ACTIVITY command.
Check this link which will explain all this in detail
http://www.redbooks.ibm.com/redbooks/pdfs/sg245464.pdf
Hope this helps...
cheers
kolusu |
|
Back to top |
|
 |
mikeg Beginner
Joined: 25 Aug 2003 Posts: 12 Topics: 6
|
Posted: Thu Oct 30, 2003 7:16 am Post subject: |
|
|
The "child" cannot be under BTS, since the "child will be perfroming SYNCPOINTs. This is why I want to perform a CICS START. |
|
Back to top |
|
 |
|
|