IBM Support

S0C7 ABEND in the ALAMAIN program

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

[{"Product":{"code":"SSCVQTD","label":"IBM Db2 Administration Tool for z\/OS"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"DB2 Log Analysis Tool","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"1.1.0;1.2.0;1.3.0","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
12 February 2021

UID

swg21168515