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


Please Help Members By Posting Answers For Below Questions

What kind of error is trapped by on size error option?

738


Name some of the examples of COBOl 11?

2676


how do you reference the variable unblock file formats from cobol programs

743


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

8156


What is the problem of ordered sequential files access?

693






Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

817


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

670


How do you get the data to code the BMS macro?

1472


How do define dynamic array in cobol.

669


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

697


What is an in line perform? When would you use it? Anything else you wish to say about it.

641


A table has two indexes defined. Which one will be used by the SEARCH?

752


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

892


How arrays can be defined in COBOL?

661


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1798