S0C7 ABEND



Queries about Compuware’s Debugging Tools: Abend-AID for COBOL, PL/I, Assembler, CICS, DB2, IMS and IDMS

S0C7 ABEND

Postby krishmain » Tue Mar 02, 2010 3:28 am

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
krishmain
 
Posts: 5
Joined: Fri Feb 26, 2010 2:53 am
Has thanked: 0 time
Been thanked: 0 time

Re: SOC 7 ABEND

Postby dick scherrer » Tue Mar 02, 2010 4:33 am

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 :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: SOC 7 ABEND

Postby dick scherrer » Tue Mar 02, 2010 10:28 am

Progress?

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: SOC 7 ABEND

Postby krishmain » Tue Mar 02, 2010 9:57 pm

Hi,

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

Kris
krishmain
 
Posts: 5
Joined: Fri Feb 26, 2010 2:53 am
Has thanked: 0 time
Been thanked: 0 time

Re: SOC 7 ABEND

Postby dick scherrer » Wed Mar 03, 2010 1:44 am

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
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to Abend-AID

 


  • Related topics
    Replies
    Views
    Last post