how do you resolve for soc7 error

Answer Posted / soumya

Actualy S0C7 abends normaly happens due to wrong data/ non-
numeric data in numeric field.By wrong data i mean to say
like if key is duplicated or some garbage data.

The resolution can be done in two ways :
1)code fix by which you can fix the cobol program code and
stage it
2)By deleting the bad records from the file

But be carefull about the file deletion if its a batch
process and some other jobs depend on the p[articular
job,so it can effect to other if any wron fixation done.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you check if a file is empty using jcl?

816


if the submitter of a job wants to inform another user about the job completion, how can it be done?

754


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

709


what is a jcl?

687


Explain the function of dd disp parameter?

595






How does jcl act on code(if you take a cobol program)?

707


What is the syntax of JCL statement?

694


What is the format of comment statement?

666


What is the use of disp parameter?

653


Explain in DD statement what is the use of DCB parameter?

654


Why include statement is used in a jcl?

689


How can the attributes of one sms dataset be copied to another dataset?

852


what are the various stages of job processing?

738


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5060


Are there any set of rules for the names of the steps used in a job? What are they?

612