I am not sure of all the details, but the task never ends and is only
slightly below 'cemt' in priority.  It catches most of the application
loops without any problem, but will not work if the cics region hangs up
higher than a kite. 


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

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Barkow, Eileen
Sent: Thursday, May 29, 2008 3:53 PM
To: [email protected]
Subject: Re: Detecting looping CICS transaction

where does this CICS transaction run? if it tries to run in the same
region as the looping transaction it may never get executed if the
region is hung.

you really need an external means to detect a loop.
AO provides a health checking function which tries to interrogate the
region and waits for a response. It would take some work, but you can
modify health checking to issue a F CICS,CEKL I TAS command and trap the
response and try to figure out which transaction is the culprit and kill
it thru CEKL SET TAS(nnnn) KILL. (CEKL runs under a separate tcb so it
may work even if the CICS region is hung).

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Wissink, Brad [ITSYS]
Sent: Thursday, May 29, 2008 4:35 PM
To: [email protected]
Subject: Re: Detecting looping CICS transaction

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

----------------------------------------------------------------------
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