During the running of a job, task, or thread, conditions arise that cause that process to wait (for example, while the system resolves a lock or hold on a required object).
Collection Services can collect data on the cause and duration
of the time a process spends waiting. This data is reported in the Collection
Services database files QAPMJOBWT and QAPMJOBWTD.
Another tool that shows job wait statistics is Job Watcher.
Job Watcher is a component of the iDoctor for iSeries™ software
product. Job Watcher returns realtime information about a selected set of
jobs, threads and licensed internal program (LIC) tasks. At specified time
intervals, Job Watcher samples anywhere from one thread/job to all threads/job.
Job Watcher gathers a variety of performance data, including detailed wait
statistics for jobs, tasks, and threads.