IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

What do I have to do to purge the TRANS


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Vishu

New User


Joined: 23 Mar 2009
Posts: 22
Location: Bangalore

PostPosted: Fri Apr 17, 2009 7:58 pm
Reply with quote

HOW to Purge forcefully a Transaction

Hi,

I got the following options on CICS screen . What do I have to do to purge the TRANS.

Code:
SET TRANS(TAJ2)
  STATUS:  RESULTS - OVERTYPE TO MODIFY
   Tra(TAJ2) Pri( 001 ) Pro(TBSADJO ) Tcl( DFHTCL00 ) Dis Sta
              Prf(DFHCICST) Uda Bel Iso               Bac Wai
 
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Apr 17, 2009 8:05 pm
Reply with quote

Three and a half years later you respond ....

When you say "purge the TRANS" do you mean remove the transaction code from CICS? If so, your CICS support group can remove it from the RDO definition and it'll be gone. If you are referring to purging a task that is running your TAJ2 transaction, the easiest way is via a monitor such as MAINVIEW or OMEGAMON. Otherwise, you must know the task number and you can enter CEMT S TAS(????????) PURGE to kill it -- as long as it is doing CICS things. If it is in a tight CPU loop where no CICS calls are being done, you might have to bring the region down and back up to kill it.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Apr 17, 2009 8:33 pm
Reply with quote

Instead of SET TRANS try SET TASK....
Back to top
View user's profile Send private message
Vishu

New User


Joined: 23 Mar 2009
Posts: 22
Location: Bangalore

PostPosted: Mon Apr 20, 2009 6:20 pm
Reply with quote

The situation is like that when I run the TRANS in the CICS region it goes into an infinite loop, the CICS region jams for the current screen .Also the performance of the TSO region drops to a great deal.

I wanted to forcefully cancel or purge the TRANS so that the TSO & CICS regions work fine.

Is it possible?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 20, 2009 6:28 pm
Reply with quote

From my earlier post ... in case you weren't paying attention ....
Quote:
Otherwise, you must know the task number and you can enter CEMT S TAS(????????) PURGE to kill it -- as long as it is doing CICS things. If it is in a tight CPU loop where no CICS calls are being done, you might have to bring the region down and back up to kill it.
If TSO performance is being affected, you're probably in a tight CPU loop -- in which case a monitor such as Omegamon or Mainview could probably kill the task but otherwise you're going to have to get the operators to kill the region and bring it back up.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Mon Apr 20, 2009 6:46 pm
Reply with quote

Vishu wrote:
I wanted to forcefully cancel or purge the TRANS so that the TSO & CICS regions work fine.
Did you bother to look at any manuals? For instance CICS Supplied Transactions?
There is always CEKL--master terminal (emergency use)....
Back to top
View user's profile Send private message
Vishu

New User


Joined: 23 Mar 2009
Posts: 22
Location: Bangalore

PostPosted: Mon Apr 20, 2009 6:48 pm
Reply with quote

I will try that for sure & let you all know .
thanks for your response.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts JCL JOB Cancel/Purge Not Working JCL & VSAM 6
No new posts How to stop a runaway CICS trans with... CICS 13
No new posts Purge CICS transaction after a time l... CICS 14
No new posts REXX cdoe to purge a JOB from spool a... CLIST & REXX 11
No new posts Need to Purge a DB2 Table DB2 14
Search our Forums:

Back to Top