There is a production file which has millions of records in
it.The program that uses it ends up with an SOC7 abend.It
is sure that the abend is due to some invalid data in the
file.Is there any way to debugg the SOC7 abend with out
giving displays? I need the record which is cause for the
abend.
Answer Posted / srivatsa
Pick up the offset address from the executed JCL. Go to
the compiler cross reference listing. Find the offset
address in the XREF. This would give the line number in
which the abend has occured. To identify the record which
caused abend get into the sysout where the abended record
information would be displayed depending on the
installation. Through this when we map it to the record
structure we will come to know which field is caused the
abend. From this we can fix the SOC7 abend.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the default value(s) for an initialize and what keyword allows for an override of the default?
When is inspect verb is used in cobol?
Explain what you understand by passing by value.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
how do you reference the rrds file formats from cobol programs
how do you reference the fixed unblock file formats from cobol programs
How to use the same COBOL program in Batch and CICS on lines? explain with an example
How do we get current date from system with century in COBOL?
What do you understand by psb and acb?
What is a report item?
What is cobol?
What is a SSRANGE and NOSSRANGE?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?