Page 1 of 1

S0C7 ABEND

PostPosted: Tue Mar 02, 2010 3:28 am
by krishmain
Hi,

I need to avoid my SOC 7 abend , "here it is due to moving a non numeric value field to a numeric field" , in my cobol source program itself. I know the procedure as to how we can solve after we get a SOC 7 ABEND but i am looking to avoid it from the source program itself. How do i go about it?


Thanks,
kris

Re: SOC 7 ABEND

PostPosted: Tue Mar 02, 2010 4:33 am
by dick scherrer
Hello,

This depends.

If there is invalid input, the process creating the input needs to be corrected.

If the input is valid, then the problem is in the code and that needs to be resolved. The good news it that is usually "easier" to correct "own code" than it is to get someone else's code changed :)

Re: SOC 7 ABEND

PostPosted: Tue Mar 02, 2010 10:28 am
by dick scherrer
Progress?

d

Re: SOC 7 ABEND

PostPosted: Tue Mar 02, 2010 9:57 pm
by krishmain
Hi,

This was a interview question posted to me and i dint have an appropriate answer. Thanks anyway.

Kris

Re: SOC 7 ABEND

PostPosted: Wed Mar 03, 2010 1:44 am
by dick scherrer
You're welcome :)

It will help us help you if you post questions in the appropriate part of the forum.

We have an area for interview questions. . .

d