This example (which is also included in CICSPlex SM Managing Resource Usage) shows you how to investigate what caused a real-time analysis event notification to be issued.
From the current view, issue the command EVENT. The EVENT view, showing outstanding events in the current scope, is displayed:
COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 1 ALT WIN ===> W1=EVENT=============PLXPROD1=PLXPROD1=26MAR1999==18:29:26====CPSM==========2 CMD Name Target Sev Pri Type Dtl View Resource Key --- -------- -------- --- --- ---- --- -------- ---------- -------------------- RTDPAY01 CICSPT01 VHS 1 MRM YES CONNECT RTDPAY02 CICSPT01 VHS 1 MRM YES CONNECT
For a more complete description of the EVENT view, see CICSPlex SM Managing Resource Usage.
Suppose that you are interested in event RTDPAY01. Move the cursor to the Dtl column for event RTDPAY01, and press Enter. The EVENTDTL view is displayed:
26MAR1999 16:50:35 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 1 ALT WIN ===> >W1 =EVENTDTL==========PLXPROD1=PLXPROD1=26MAR1999==16:50:35====CPSM==========1 CMD EVALDEF Sev Table Instance Evaluation View Data Value --- -------- --- -------- -------- Column------ -------- ---------------------- RTEPAY01 VHS CONNECT * CONNSTATUS CONNECT RELEASED
For a more complete description of the EVENTDTL view, see CICSPlex SM Managing Resource Usage.
From the Evaluation Column, you can see that the CONNSTATUS value of this connection has triggered the event, and that its current value is RELEASED. This might tell you all you need to know. If it doesn’t, you can investigate further as described in the remaining steps of this example.
To get more information about the evaluation definition that has triggered this event, move the cursor to the RTEPAY01 entry in the EVALDEF column and press Enter. The EVENTDTD view is displayed:
26MAR1999 17:13:48 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 1 ALT WIN ===> >W1 =EVENTDTL=EVENTDTD=PLXPROD1=PLXPROD1=26MAR1999==17:13:46====CPSM==========1 Event Name.. RTDPAY01 VHS value. EVALDEF Name RTEPAY01 Table Name... CONNECT HS value.. Target...... PLXPROD1 Instance Patt * HW value.. State....... TRUE Eval Column.. CONNSTATUS LW value.. Severity.... VHS Eval Column.. NE LS value.. Date........ 26MAR1999 VLS value. Time........ 17:13:39 Eval Value Set Action.. ANY Data Value Sample Rate. 30 Key....... View........ CONNECT Type........ VALUE Resource.... CONNECT
For a more complete description of the EVENTDTD view, see CICSPlex SM Managing Resource Usage.
From the EVENTDTD view, you can see that event RTDPAY01 is triggered when the value of the CONNSTATUS column in the CONNECT table is not ACQUIRED. (The Eval Operator value is NE (meaning "not equal to"); the Eval Value is ACQUIRED; and the Eval Column is CONNSTATUS).
Next, you could look at the CONNECT view. However, it’s a good idea to open another window first, so that you can see the CONNECT view and the EVENTDTD view at the same time.
To open a second window, type HS in the COMMAND field, move the cursor approximately halfway down the screen, and press Enter. Window T2 appears, and the current window is now window 2:
26MAR1999 17:13:48 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 2 ALT WIN ===> >W1 =EVENTDTL=EVENTDTD=PLXPROD1=PLXPROD1=26MAR1999==17:13:46====CPSM==========1 Event Name.. RTDPAY01 VHS value. EVALDEF Name RTEPAY01 Table Name... CONNECT HS value.. Target...... PLXPROD1 Instance Patt * HW value.. State....... TRUE Eval Column.. CONNSTATUS LW value.. Severity.... VHS Eval Operator NE LS value.. Date........ 26MAR1999 VLS value. Time........ 17:13:39 Eval Value Set Action.. ANY Data Value Sample Rate. 30 Key....... View........ CONNECT Type........ VALUE Resource.... CONNECT T2 ===========================================================================
Issue the command SCO CICSPT01 to set the scope of window 2 to CICS® system CICSPT01.
Issue the command CONNECT *. The CONNECT view, showing all connections defined to CICSPT01, is displayed in window 2:
26MAR1999 17:13:48 ----------- INFORMATION DISPLAY --------------------------- COMMAND ===> SCROLL ===> PAGE CURR WIN ===> 2 ALT WIN ===> >W1 =EVENTDTL=EVENTDTD=PLXPROD1=PLXPROD1=26MAR1999==17:13:46====CPSM==========1 Event Name.. RTDPAY01 VHS value. EVALDEF Name RTEPAY01 Table Name... CONNECT HS value.. Target...... PLXPROD1 Instance Patt * HW value.. State....... TRUE Eval Column.. CONNSTATUS LW value.. Severity.... VHS Eval Operator NE LS value.. Date........ 26MAR1999 VLS value. Time........ 17:13:39 Eval Value Set Action.. ANY Data Value Sample Rate. 30 Key....... View........ CONNECT Type........ VALUE Resource.... CONNECT W2 =CONNECT===========PLXPROD1=CICSPT01=26MAR1999==17:27:27====CPSM==========2 CMD Conn CICS CONN Netname Connect Service Pending --- ID-- System-- Type -------- Status---- Status---- Status---- AA01 CICSPT01 LU62 CICSPA01 RELEASED INSERVICE NOTPENDING AA02 CICSPT01 LU62 CICSPA02 ACQUIRED INSERVICE NOTPENDING AA03 CICSPT01 LU62 CICSPA03 ACQUIRED INSERVICE NOTPENDING
From the CONNECT view in window 2, you can see that connection AA01 is RELEASED, and that this triggered event RTDPAY01.