Question & Answer
Question
If JCL that was generated from the DB2® Log Analysis panels is edited, why is an S0C7 ABEND in the ALAMAIN program generated?
Cause
You can use the DB2 Log Analysis (LAT) panels to edit data on all fields, which will ensure that the data fed into the LAT programs is correct.
An error can occur if you modify the PARTITION value in the JCL to spaces. This value must be numeric.
Answer
If the value on the ISPF panel is blank, the value is still generated as zeros in the JCL. Therefore, no S0C7 should occur here. However, if the value is incorrectly edited as spaces, it must be reset to zeros.
Find the "FILTERS FOR JOB SHOWN BELOW" section in the generated JCL and ensure that the PARTITION parameter is coded as follows:
/*******************************
/*FILTERS FOR JOB SHOWN BELOW *
/*******************************
...
PARTITION = 000
Was this topic helpful?
Document Information
Modified date:
12 February 2021
UID
swg21168515