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.
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