MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Locating the record abended.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
YSMVS
Beginner


Joined: 19 May 2004
Posts: 51
Topics: 25
Location: My House

PostPosted: Wed May 19, 2004 1:24 pm    Post subject: Locating the record abended. Reply with quote

Hi all,

Is there any way by wiche the record on which the program has abended in S0C7. How to locate the record number if we have Abendaid installed and in places where it is not installed.

Thanks,
YSMVS
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed May 19, 2004 2:53 pm    Post subject: Reply with quote

YSMVS,

If you have abend-aid at your shop then it is very easy to find the record that is causing the abend. Abend-aid will display the enitre working-storage section of your program which will make your job easier to figure out which record caused the error.

And if you don't have abend-aid installed then I would say your are at a loss unless you are very good with reading the dump.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
YSMVS
Beginner


Joined: 19 May 2004
Posts: 51
Topics: 25
Location: My House

PostPosted: Wed May 19, 2004 3:23 pm    Post subject: Reply with quote

Thanks Kolusu.
Back to top
View user's profile Send private message
souvik_225
Beginner


Joined: 15 May 2004
Posts: 17
Topics: 2
Location: Mumbai , India

PostPosted: Thu May 20, 2004 12:47 am    Post subject: Reply with quote

This could be helpful in some cases ... where the program is reading in every single record from the input and doing some calculations/formatting/etc and writing this to the output file ...

1. Rerun the program step again with same Input(s) , but keep the Output file as NEW,CATLG,KEEP.

2. After the job abends, open the output file and go to the last record , pick up a part of the last record which u think is unique.

3. Take this and search it in the Input file , the next record after this is usually the problematic record.

In our system , whenever the jobs are running in production with prod qualifier , the system default is to NEW,CATLG,CATLG. So this method is the first thing we do to locate the S0C7 although we have Abend-Aid.

Please note that to use this method , u have to know beforehand that the program is going to write the Input records after reformatting/calculations into the output file.
_________________
Thanks and Regards,
Souvik Upadhyay
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination 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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group