When using Job Control Record fields in the SARGRW utility, the job consumes significantly more CPU time compared to using only Report Control Record fields. This high CPU utilization can lead to S322 abends due to exceeding the allotted CPU time.
Product: View
Version: 14.0
This behavior is expected when selection criteria include both:
A Job Control Record field (for example, JOBOWNER), and
A Report Control Record field (for example, ARCHDATE).
In this scenario, the SARGRW utility processes data as follows:
It selects qualified Job Control Records first.
For each selected Job Control Record, it then checks every associated DD.
It attempts to find a matching Report Control Record for each DD.
This process results in a nested search operation, which can be extremely inefficient and CPU-intensive, especially when large volumes of data are involved. As a result, execution time increases significantly, making S322 abends more likely.