Date: Thu, 14 Nov 2002 16:08:58 -0500
Reply-To: CICS List <CICS-L@LISTSERV.UGA.EDU>
Sender: CICS List <CICS-L@LISTSERV.UGA.EDU>
From: Edward Tamm <eatamm@HOUSEHOLD.COM>
Subject: Re: CICSPlex monitoring long running transactions
Content-type: text/plain; charset=us-ascii
Lisa - thanks!!! I used MTRANCLS and it worked like a charm!!
Trey
"FELLOWS, LISA M"
<LISA_M_FELLOWS@FLEET To: CICS-L@LISTSERV.UGA.EDU
.COM> cc:
Sent by: CICS List Subject: Re: CICSPLex monitoring long running transactions
<CICS-L@LISTSERV.UGA.
EDU>
11/13/2002 04:19 PM
Please respond to
CICS List
Edward,
I don't know if this would work (I've never tried it). Could you put all of
the Transactions into a new/specific Tranclass and use an EVALDEF to alert
you if the ACTIVE (Current trans active in class) falls below 4?
Just a thought,
Lisa
-----Original Message-----
From: Edward Tamm [mailto:eatamm@HOUSEHOLD.COM]
Sent: Wednesday, November 13, 2002 2:04 PM
To: CICS-L@LISTSERV.UGA.EDU
Subject: CICSPLex monitoring long running transactions
I currently use CICSPlex (via RTADEFs, EVALDEFs, ACTNDEFs, etc) to monitor
files in my CICS regions to see if they are not enabled - and if they are
not enabled, CICSPlex writes a message to the MVS console. This process
works great!
I now have a new requirement - making sure that 4 different long-running
transactions are all running at the same time - in other words, none have
ended or abended. All 4 transactions have different transids (ABC1, ABC2,
ABC3, and ABC4) but use the same program (OFOVTCPC). I have tried two
different scenarios, but neither really works well.
I initially tried to check to see if the program had a res count of 4,
which works with the CEMT transaction if you use program DFHEMTD - but that
did not work with my user transactions. No matter how many transactions
were running, the res count for the program was always 1. Here was the
EVALDEF:
Name TGW0PROG
Description Program OFOVTCPC rescount <>2?
Sample Interval 15 Interval between samples in seconds
TableName PROGRAM Resource Table Name or *
Instance Pattern OFOVTCPC Specific or generic pattern
Result Set Action AVG Operation
(ALL,ANY,SUM,MIN,MAX,AVG,CNT)
Separate Task NO Run as a separate task (YES, NO)
Evaluation Column RESCOUNT Column name to evaluate or *
either Operator NE (EQ,NE,LT,GT,LE,GE)
Value 2
Severity VLS (VLS,LS,LW,HW,HS,VHS)
I also tested checking to see if there were any tasks running that had one
of the transids - which works great if the transaction runs and then ends.
That would be ok if it worked because I could set up 4 different EVALDEFs -
one for each transaction. But if the transaction bombs at region startup,
I will NOT get notified that the transaction is NOT running. Here is the
EVALDEF:
Name TGW0TRAN
Description ABC1 - transaction running?
Sample Interval 15 Interval between samples in seconds
TableName TASK Resource Table Name or *
Instance Pattern * Specific or generic pattern
Result Set Action ANY Operation
(ALL,ANY,SUM,MIN,MAX,AVG,CNT)
Separate Task NO Run as a separate task (YES, NO)
Evaluation Column TRANID Column name to evaluate or *
either Operator EQ (EQ,NE,LT,GT,LE,GE)
Value ABC1
Severity VLS (VLS,LS,LW,HW,HS,VHS)
Also, here is the ACTNDEF:
Action Name TGW0ABC1
Description tran ABC1 running?
Event YES Generate Event (Yes/No)
Event View TGW0ABC1 View for Event
Priority 50 Event Priority (1 to 255)
Event Text ABC1 tran on TGW0 is running
External Msg YES Generate External Message (Yes/No)
Enter Msg Transaction ABC1 is running
Exit Msg Transaction ABC1 is not running
Alert NO Generate Alert (Yes/No)
CMAS Name CMAS to Issue Alert
Enter Text
Exit Text
Restart NO Cancel for ARM Restart (Yes/No)
So, my question to the list is: does anyone know if there is a way using
CICSPlex to see if group of long-running transactions ARE NOT running in a
CICS region so I can write a message to the console?
Thanks,
Trey
|