Monitoring batch jobs execution via SYSVIEW
search cancel

Monitoring batch jobs execution via SYSVIEW

book

Article ID: 205310

calendar_today

Updated On:

Products

SYSVIEW Performance Management NXBRIDGE - SYSVIEW/ENDEVOR

Issue/Introduction

Is there any way to monitor and set thresholds for batch jobs via SYSVIEW? For example, when the elapsed time for a job is greater than 2 hours.

Resolution

To accomplish your request, you can use MVS THRESHOLD JOBCLOCK 

On the parmlib member MVSTHRSH, you can code the following:  

                                                             
 DEFINE JOBCLOCK RSCE JOBNAME=XXXX  LIMIT 02:00:00 WARNING 01:45:00                
                                                                               
This will produce a warning message if a specific job exceeds 1 hour 45 minutes

 DEFINE JOBCLOCK RSCE *  RSCEATTR JOB LIMIT 02:00:00 WARNING 01:45:00  

 This will produce a warning message if any job exceeds 1 hours 45 minutes