Page 1 of 1

SOC 7 abend - interview question

Posted: Thu Dec 29, 2011 7:54 pm
by sonakasi
Hi All,
I have been questioned as , If we are processing through millions of records and we get a SOC7 abend, so how do you find out where excatly its abended and how do you resolve this ??
Answer :
When we run the program and it abends with SOC7, we have to take the last 4 bytes in compiler listing and check where excatly it got abended

Posted: Fri Dec 30, 2011 10:40 am
by DikDude
When we run the program and it abends with SOC7, we have to take the last 4 bytes in compiler listing and check where excatly it got abended
I do not know what the last 4 bytes of a compiler listing might have that would identify an Abend at run-time. . .

Most organizations now use one or more tools that pin-point the cause of things like an s0c7 (Abend-Aid is one).

If the system has NO such tool, one must use the registers at the time of the abend to determine the next sequential instruction (nsi) and the core dump to find the problem instruction and then the problem data area (file or w-s or. . .).

Posted: Fri Dec 30, 2011 3:15 pm
by sonakasi
Hi DikDude,
core dump here you talk about..is it CEEDUMP ???

Posted: Sat Dec 31, 2011 10:49 am
by DikDude
The CEEDUMP will probably not be enough. . .

Suggest you speak with people familiar with debugging and the tools available on your system.

This forum is probably not a good place to try to learh how to read a dump for problem determination.

Posted: Mon Feb 06, 2012 9:16 pm
by nareshv_99
follow below steps..
1. when its gets abend you'll find OFFSET in the SYSOUT/SYSUDUMP
like below
at entry offset +00000043A at address 00008116
2. recompile the program with source listing
in listing find the offset (here look for 043A) and find the line where the S0C7 occurred.

we know S0C7 happens due to invalid data.
To find invalid data out of millions of records
open the input file thru FILA. then type INVALID on command prompt, it'll shows all invalid records.

correct me if i'm wrong..
add something if i miss any..
i welcome for more in-depth details.. :D

Posted: Tue Feb 07, 2012 12:58 am
by NicC
What on earth is FILA? I've never seen it at any place I have worked so this option is not a generic solution.

Posted: Tue Feb 07, 2012 8:56 am
by nareshv_99
why dont you provide an answer then ?

sorry it was not INVALID DATA.. it is F/filed-name INVALID

Refer: 100CoolMainframe.pdf
TIP: 70
u can refer to TIP: 77

Posted: Tue Feb 07, 2012 11:21 am
by NicC
What is 100coolmainframe.pdf? You provide no link.

Posted: Tue Feb 07, 2012 11:41 am
by dbzTHEdinosauer
Nic,
i think it will be rather revealing to troll thru nareshv 99's posts in other threads.

Posted: Tue Feb 07, 2012 5:48 pm
by NicC
I know - he is trying to get to 10 meaningful posts so that he can get the free e-book. I think he has had 2 so far.

Posted: Tue Feb 07, 2012 10:49 pm
by nareshv_99
i recently(2 days ago i guess) joined this community. and i'm mainframe fresher.. i would like to learn things that's why posted. i'm not expecting free any material too..

thnks Ni C.. atleast you said i have 2 good posts.. :)

Posted: Wed Feb 08, 2012 2:36 pm
by Anuj Dhawan
He has not mentioned about good or bad but if that pleases you...:wink:

Topic deleted by Admin

Posted: Tue Jan 19, 2016 12:58 pm
by academyindia4
<< Content deleted By Admin >>

Posted: Thu Jan 11, 2018 8:16 pm
by Girija
Hi Team,

we can resolve in 2 ways.

1. using skip logic like IF RECORD NOT EQUAL TO NUMERIC can skip the record.

2. using offset value find the exact place and display the key of record and delete from file.


Thanks,
Girija.