Collecting CPU Time for an Address Space or Task

You might want to collect CPU time for an address space or task when all of the processing for the address space or task is product processing. If your product is the job step task, collect all CPU time for the address space. When your product runs under some other task, collect CPU time for that task.

Use macro IFAUSAGE with REQUEST=REGISTER to begin collection of CPU time. To collect CPU time for the task, specify DOMAIN=TASK. To collect CPU time for the address space, specify DOMAIN=ADDRSP. When data collection is complete, specify REQUEST=DEREGISTER on the IFAUSAGE macro.