Our CICS guy wrote a program that queries all the active transactions
and then determines how many seconds it has been running.  We then kill
off the 'looping' transactions'.   He does a 'EXEC CICS INQUIRE TASK
LIST ' to get the list of tasks and then issues 'EXEC CICS INQUIRE
TASK(WSWA-TASK-NUM)' with the ATTACHTIME parameter to get the amount of
time the transaction has been running.  We also write out messages
telling what we are doing.  I suppose you could feed those into your
AOC.    


Brad Wissink
Information Technology Services
Iowa State University
515-294-3088

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Jim McAlpine
Sent: Thursday, May 29, 2008 10:43 AM
To: [email protected]
Subject: Re: Detecting looping CICS transaction

>
> "Dave Menist" <[EMAIL PROTECTED]> wrote in message 
> news:<[EMAIL PROTECTED]
> m>
> ...
> > Hi,
> >
> > I hope that someone can help with or has some insights into the 
> > following questions.
> >
> > Is it possible to detect if a CICS transaction is looping in such a 
> > way that it can be passed on to AOC? AOC is used to generate a IRM-a

> > ticket which is the trigger to start investigating. I know there is 
> > the "CICS under stress" message which may indicate that a trx is 
> > looping. But it might also be something else.
> >
> > Are there other more precise ways to detect a looping trx? (that can

> > be passed on to AOC)
> >
> > The reason for asking these questions is to minimize the reaction 
> > time and to start investigating as quickly as possible. Hopefully 
> > minimizing the inconvience to other developers.
> >
> > Thanks,
> > Dave
> >


We have a monitor that attempts to detect when ANY address space is
looping and issue a message which can be trapped by your automation
tool.  It's not my code but I must have got it from someone on this list
but I don't know the legality of passing it on.

Jim McAlpine

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send
email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search
the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to