View previous topic :: View next topic |
Author |
Message |
YSMVS Beginner
Joined: 19 May 2004 Posts: 51 Topics: 25 Location: My House
|
Posted: Wed May 19, 2004 1:24 pm Post subject: Locating the record abended. |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed May 19, 2004 2:53 pm Post subject: |
|
|
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 |
|
|
YSMVS Beginner
Joined: 19 May 2004 Posts: 51 Topics: 25 Location: My House
|
Posted: Wed May 19, 2004 3:23 pm Post subject: |
|
|
Thanks Kolusu. |
|
Back to top |
|
|
souvik_225 Beginner
Joined: 15 May 2004 Posts: 17 Topics: 2 Location: Mumbai , India
|
Posted: Thu May 20, 2004 12:47 am Post subject: |
|
|
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 |
|
|
|
|