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

calendar_today

Updated On:

Products

Explore Performance Management for z/VSE

Issue/Introduction

How to set up FAQS/PCS to schedule a Job when an Explore Threshold is triggered.

 

Resolution

Step 1. Edit the threshold defined in Explore for VSE 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      Limit T C M L K P  Event
 PCPUBUSY JCLSCHED       .005 U T Y Y N Y  evtname

Step 2. Define an Event that has a 'When Condition" of EVSE.

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  ===>EXPLVSE   
 Description ===> Threshold Event Hold  ===>N
 Event Cpuid ===>           ABND RC     ===>   
 Command     ===> BATCH.JCL                                       
 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    EVSE

Press PF3, then PF4 to save the event. If you wish to load the event press PF2.

Additional Information

The FAQS/PCS library must be in the LIBDEF search chain of the Explore for VSE logger task.