Schedule a PCS event that will run a batch job when the threshold is triggered
search cancel

Schedule a PCS event that will run a batch job when the threshold is triggered

book

Article ID: 27097

calendar_today

Updated On:

Products

Explore Performance Management for z/VSE

Issue/Introduction

How to schedule a PCS event that will run a batch job when the threshold is triggered?

 

Resolution

Step 1.

Edit the threshold you have defined in Explore for CICS that you would like to have scheduled a PCS event. Put a 'Y' in the post column and the event name in the EVENT column.

NAME.. RESOURCE RESOURCE ...LIMIT PCT LOG POST EVENT...
ABENDS CPUTIME  *           0.500  75 YES NO   EVTNAME

 

Step 2.

Define an Event that has a When Condition of EXPC.

From the PCS main menu select 'E'. Press PF4 to create a new event. Fill in the fields with the necessary information

Event Name  ===> EVTNAME  Group Name  ===>EXPCCICS   
Description ===> Threshold Event Hold  ===>N
Event Cpuid ===>           ABND RC     ===>   
Command     ===> BATCH.HCL                                        
CSPD        ===> ____      Target Node ===>   
Early Time  ===> 0000      Late Time  ===>    
Abort Time  ===> 2400      XDATE OR ?  MTWTFSS   CYC
Event Day   ===> ALL       ___  _  _  _______   ___
Occurrences ===>         Frequency  ===>    
When Cond.  ===> Y         Successors ===> N  
Variables   ===> N         Data Sets  ===> N  
Tape Reels  ===>           Cartridges ===>   
Resources   ===> N         Excl type  ===>

Tab down to When Cond, put a 'Y' and hit enter. On this screen fill in

            Type    Primary  
 WHEN1 ===> PROD    EXPC

Press PF3, then PF4 to save the event. If you wish to move the event to the current file, press PF2.

Additional Information

The FAQS/PCS library must be in the LIBDEF search chain Explore for CICS Master region.