MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to cancel CICS Background Transaction while in run????

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
sasmita
Beginner


Joined: 12 Jun 2004
Posts: 1
Topics: 1

PostPosted: Sat Jun 12, 2004 2:25 am    Post subject: How to cancel CICS Background Transaction while in run???? Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Sat Jun 12, 2004 8:57 am    Post subject: Reply with quote

Sasmita,

check this link for Using the START and CANCEL REQID commands

You can also use the set command to disable a transaction.check this link for explanation

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHA7P03/11.114?DT=20021018154625

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Fri Jun 18, 2004 8:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group