View previous topic :: View next topic |
Author |
Message |
sasmita Beginner
Joined: 12 Jun 2004 Posts: 1 Topics: 1
|
Posted: Sat Jun 12, 2004 2:25 am Post subject: How to cancel CICS Background Transaction while in run???? |
|
|
Hi Guys !!!
I'm in transaction B.
Need to cancel a transaction A which is running in background indefinitely.
Transaction A initiated from Transaction B with START command.
Transaction B is accessing a TSQ created by Transaction A.
Help me out if u have any clue....... |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Fri Jun 18, 2004 8:01 am Post subject: |
|
|
Kolusu,
Sasmita says the transaction is already running, so there will be no REQID to cancel.
Sasmita,
For a running transaction you need to use the SET TASK PURGE/FORCEPURGE command, but you may not be allowed to use this since some sites restrict access to system programmer commands like this. Also, PURGE/FORCEPURGE will not always work immediately and sometimes not at all depending on what the target transaction is doing.
Why is A running indefinitely? Does it need to? Why exactly do you need to cancel it? Is it holding some resource that B needs? If so, could it free that resource with a SYNCPOINT? Could A reschedule itself with START and an interval and terminate instead of running constantly? |
|
Back to top |
|
 |
|
|