Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file

Google
 
Web mainframegurukul.com

SOC 7 abend - interview question

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> ABEND CODES / ERROR CODES
  View previous topic :: View next topic  
Author Message
sonakasi
Member


Joined: 09 Nov 2011
Posts: 20
Location: India

Answer was approved by Question owner.
Useful Post
-3 votes
Not an useful post
Greate Post!! Salute Author
2 salutes

PostPosted: Thu Dec 29, 2011 7:54 pm    Post subject: SOC 7 abend - interview question Reply with quote

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
_________________
SONA KASI
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.

DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

Answer was approved by Question owner.
Useful Post
1 votes
Not an useful post
Greate Post!! Salute Author
3 salutes

PostPosted: Fri Dec 30, 2011 10:40 am    Post subject: Reply with quote

Quote:

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. . .).
_________________
Have a good one
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
sonakasi
Member


Joined: 09 Nov 2011
Posts: 20
Location: India

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Fri Dec 30, 2011 3:15 pm    Post subject: Reply with quote

Hi DikDude,
core dump here you talk about..is it CEEDUMP ???
_________________
SONA KASI
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
DikDude
Moderator


Joined: 22 Jul 2011
Posts: 1001
Location: usa

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Sat Dec 31, 2011 10:49 am    Post subject: Reply with quote

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.
_________________
Have a good one
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
nareshv_99
Member


Joined: 05 Feb 2012
Posts: 25
Location: Bangalore

Answer was approved by Question owner.
Useful Post
-1 votes
Not an useful post
Greate Post!! Salute Author
3 salutes

PostPosted: Mon Feb 06, 2012 9:16 pm    Post subject: Reply with quote

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.. Very Happy
Back to top
View user's profile Send private message AIM Address
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
NicC
Active Member


Joined: 24 Jul 2011
Posts: 650
Location: Down on the pig farm

Answer was approved by Question owner.
Useful Post
1 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 07, 2012 12:58 am    Post subject: Reply with quote

What on earth is FILA? I've never seen it at any place I have worked so this option is not a generic solution.
_________________
Regards
Nic
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
nareshv_99
Member


Joined: 05 Feb 2012
Posts: 25
Location: Bangalore

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 07, 2012 8:56 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message AIM Address
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
NicC
Active Member


Joined: 24 Jul 2011
Posts: 650
Location: Down on the pig farm

Answer was approved by Question owner.
Useful Post
-2 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 07, 2012 11:21 am    Post subject: Reply with quote

What is 100coolmainframe.pdf? You provide no link.
_________________
Regards
Nic
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
dbzTHEdinosauer
Moderator


Joined: 02 Oct 2006
Posts: 981

Answer was approved by Question owner.
Useful Post
1 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 07, 2012 11:41 am    Post subject: Reply with quote

Nic,
i think it will be rather revealing to troll thru nareshv 99's posts in other threads.
_________________
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
NicC
Active Member


Joined: 24 Jul 2011
Posts: 650
Location: Down on the pig farm

Answer was approved by Question owner.
Useful Post
1 votes
Not an useful post
Greate Post!! Salute Author
1 salutes

PostPosted: Tue Feb 07, 2012 5:48 pm    Post subject: Reply with quote

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.
_________________
Regards
Nic
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
nareshv_99
Member


Joined: 05 Feb 2012
Posts: 25
Location: Bangalore

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Tue Feb 07, 2012 10:49 pm    Post subject: Reply with quote

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.. Smile
Back to top
View user's profile Send private message AIM Address
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Anuj Dhawan
Moderator


Joined: 09 Aug 2008
Posts: 1625
Location: Mumbai, India

Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
0 salutes

PostPosted: Wed Feb 08, 2012 2:36 pm    Post subject: Reply with quote

He has not mentioned about good or bad but if that pleases you...Wink
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
academyindia4
Guest





Answer was approved by Question owner.
Useful Post
0 votes
Not an useful post
Greate Post!! Salute Author
2 salutes

PostPosted: Tue Jan 19, 2016 12:58 pm    Post subject: Topic deleted by Admin Reply with quote

<< Content deleted By Admin >>
Back to top
Click here, If this post answer your question. <-- Click on right mark icon. If this post answer your question.
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> ABEND CODES / ERROR CODES All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Cobol Tutorial
This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial
This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial
This Tutorial covers all important aspects of DFSORT. Has more SORT examples
INTERVIEW Questions
This page covers important interview questions
Mainframe Jobs
Mainframe Jobs posted by members of mainframegurukul forum
FaceBook Page
MainframeGurukul FaceBook Page
LinkedIn Page
MainframeGurkul Linkedin Page

This widget requires Flash Player 9 or better







Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB

mainframetopic-6213.html