SOC07 error



Get solution for your ABEND Codes & System Error Messages, SQL Codes, File Status etc...

SOC07 error

Postby jvinoth » Tue Jan 24, 2012 6:49 pm

Hi,
Can anyone tell me how to resolve the soc07 error.I dont have abend aid tool to identify the data which cause the abend problem. so please tel me how to find the prolem and slove the step. its big program so cant read all the lines to find the probelm. can we check the problem in program itself .is it possible
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: SOC07 error

Postby Robert Sample » Tue Jan 24, 2012 7:05 pm

The S0C7 abend should generate some form of dump. You should be able to locate the offset in the program of the failing instruction. You should be able to take a compile of the program and find the offsets for the statements (depending upon which language you're using, of course). Locate the statement whose offset is less than the abend offset with the next statement offset higher than the abend offset. This tells you that one of the variables in that statement has an invalid numeric value.

Depending upon your level of knowledge and where the bad data is, you may be able to use the dump to directly locate the failing record (if the bad data is in a file) directly.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: SOC07 error

Postby BillyBoyo » Tue Jan 24, 2012 7:07 pm

Is it a Cobol program giving you a S0C7?

If you look at your output in the spool, you should see a "dump" of some sort. If it is an LE dump it will tell you a displacement which you can use to find, on the Cobol output listing, which instruction is the problem. You'll probably also find an LE message in the sysout giving you the same.

So, you need to tell us what sort of DUMP you have, and whether you have the Cobol listing and whether the listing contains a reference to the source line numbers (in the listing) with a displacement (some stuff in hexadecimal).

Edit: Snap.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: SOC07 error

Postby jvinoth » Tue Jan 24, 2012 7:09 pm

suppose if i wanna findout that record how to do that...
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: SOC07 error

Postby jvinoth » Tue Jan 24, 2012 7:13 pm

i need to find out because of which record the abend is happened...last read record how to do that...in abend aid we can find it out but without that how to do please tell me....
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: SOC07 error

Postby Robert Sample » Tue Jan 24, 2012 7:25 pm

Sorry, but the specific answer would depend upon specifically what you got -- SYSABEND, SYSUDUMP, CEEDUMP or nothing. I know of no way that anyone at this forum could help you. You must consult with someone at your site such as a coworker, team leader, or site support group if you want assistance.
Robert Sample
Global moderator
 
Posts: 3720
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: SOC07 error

Postby BillyBoyo » Tue Jan 24, 2012 8:38 pm

With the information we know, your best bet might be if you happen to have the key stored in the working-storage of the program.

The BLF in the data map will lead you to the file, but without knowing what dump you have, it is tricky to guide you to it.

Get to know the compile listing well, this will help you to find things in an abend.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: SOC07 error

Postby jvinoth » Wed Jan 25, 2012 3:01 pm

can we get the dump values....from that we can get the exact value which cauese the abend...buz its a huge file so tracking one by one not possible at all...so how to do...in abend aid we can see that last read data...but without the abend aid how to do plese tell me.
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: SOC07 error

Postby jvinoth » Wed Jan 25, 2012 3:06 pm

is SYSABOUT used to capture runtime dump...if so please tell me how to use that in JCL..
jvinoth
 
Posts: 132
Joined: Fri Nov 18, 2011 3:13 pm
Has thanked: 0 time
Been thanked: 1 time

Re: SOC07 error

Postby BillyBoyo » Wed Jan 25, 2012 3:42 pm

Things like SYSABOUT are down to installation definition at individual sites. If you have seen that at your site, I would expect you'd get a dump on it. //SYSABOUT DD SYSOUT=* should then get a dump in the spool output. If you've seen it somewhere else, you may or may not get a dump with it - try it out, it can't cause any harm.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Next

Return to ABENDS & SQL Codes

 


  • Related topics
    Replies
    Views
    Last post