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 Code (LIC) program tasks. At specified time intervals, Job Watcher samples anywhere from one thread per job to all threads per job. Job Watcher gathers a variety of performance data, including detailed wait statistics for jobs, tasks, and threads.
Two types of wait buckets accumulate wait state data:
To query the QAPMJOBWTD file, the CCSID of your job must be set to the CCSID of the primary language installed on the system (not to 65Â 535 binary data).
Related concepts
iDoctor for iSeries