This topic shows how to create a bar to monitor for the number of jobs on a particular job queue, starting from a system view.
In the above example we already have a Job Queue related group, so we'll add the new definitions into that group.
From within the required group, right-click and select Properties for xxx Group from the context menu to display the following window:
If you want to create a definition for all systems select Data Selection for All Systems. If you want to create it for one system only, select Additional Data for this system.
Create a Job Queue Count monitor, if one does not exist, using the Add button. The following window opens. Then, use the Data Type drop-down list and select the Job Queue Count definition.
The exact parameters required will depend on your requirements, but for the following example we used QBATCH and QPGMR:
Right-click the Library parameter and select the required library from the list.
Right-click the Job queue parameter and select the required job queue from the list.
You can also choose to omit Held or Scheduled jobs if you wish.
Continue to add the monitors that you need to create.
Note the new options at the bottom of the Selected Items list on the right.
Click OK again to return to the monitor.
New columns have been added to the main Bar Group providing a count of the jobs on QPGMR and QBATCH.
Hover your mouse over any item for details.