View previous topic :: View next topic |
Author |
Message |
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Thu Jun 14, 2007 11:09 am Post subject: Abend in Production - DDIO |
|
|
I have this query from longtime in mind.
whenever an abend occurs in production, all I do is recreate the abend in test region and resolve using the DDIO file and Abend Aid but this takes lot of time. This I usually follow for Bad data.
If the job abends for more SPACE then I am lucky. otherwise I have to follow the above process frequently.
The problem I face is that I could not test it in production as I could not transmit the DDIO file from Test region to production.
I feel I am missing something, Can anyone suggest me a better way?. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
|
Back to top |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Jun 14, 2007 11:57 am Post subject: |
|
|
vak255,
my mainline code consists of 2 parts: - plausi-proofing
- mainline processing
1 pre-proofing or plausibility proofing is interrogating with code, every variable that is input to my program, whether it comes from a file, sysin, or DB2.
Other that DB2 sources:
all fields are tested to insure that their contents conforms to the datatype. e.g. IF var NUMERIC. Fortunately, DB2 will not allow non-numeric data in a numeric column.
Including DB2 sources:
all field contents are validated to insure that they conform to values (ranges, etc..) that I expect - or programmed for. If a field is a code and it needs to be A, B, C, 1 or space, and is not, I handle the error in the pre-proofing stage.
All rejections are handled with error routines that provide enough information so that I, another programmer or a user knows what was rejected and why. All errors are classified as:- catastrophic - program must end in an orderly manner
- uncorrectable error
- data is invalid, record can not be processed
- program must skip a record and then go on (after reporting)
- correctable error
- data is invalid, use default and report
- process with default
2 mainline processing is what most programs are, blindly manipulating data and blissfully unaware that numeric fields have spaces and codes are incorrect. But, my numeric fields have nothing except numbers and the codes contain values that conform to the application. WHEN OTHER in an EVALUATE statement should not allow processing of invalid data.
There is no such thing as bad data; there is only unacceptable data and bad code. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Thu Jun 14, 2007 12:10 pm Post subject: |
|
|
Thnaks Kolusu, I have gone thru this link before and its really helpful and informative.
I have abend Aid installed in production but i don't have a DDIO file to find the exact location of the error and there by i could not know what data is causing the abend and in which line.
if u have the ddio file, u get this information in no time.
Thanks for your time. |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Thu Jun 14, 2007 12:15 pm Post subject: |
|
|
Thx dbzTHEdinosauer, I am in support so got to handle lot of BAD CODE which passes down BAD data to downstream application... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Thu Jun 14, 2007 12:17 pm Post subject: |
|
|
Quote: |
I have abend Aid installed in production but i don't have a DDIO file to find the exact location of the error and there by i could not know what data is causing the abend and in which line.
|
Vak255,
Since your shop is paying for the licence use it. Ask around co-workers or get hold personell who had the done the setup for abend-aid. Some one should be able to guide you to setup for the first time.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
vak255 Intermediate
Joined: 10 Sep 2004 Posts: 384 Topics: 79
|
Posted: Thu Jun 14, 2007 12:37 pm Post subject: |
|
|
Unfortunately nobody knows much about it in my team. All are much comfortable with the way they use to trace it without abend aid. I too use the Abend aid to get some basic information like the below info.
Quote: |
CEE3204S The system detected a protection exception (System
Completion Code=0C4).
* Error Location *
*******************************************
The next sequential instruction to be executed in program S0011A was
at displacement 0000FF72.
*******************************************
* Supporting Environmental Data *
*******************************************
Abend PSW - 078D0000 ACB42AC2 A(S0011A) + 0000FF72
Prog PSW - 078D0000 ACB42AC2 A(S0011A) + 0000FF72
Load Module - S0011A Entry Point Address - 2CB32B50
ILC - 00, INTC - 04 Load Point Address - 2CB32B50
|
From the link that you provided you have mentioned "At Offset +X'037640' " Can you explain a bit more on this as I don't see any value in abend aid report like +X'....'
Can you give me directions on using the above abend aid info to trace back in code.
I always use DDIO, so it shows me the exact line and location so i never use to worry about the offset and displacement. |
|
Back to top |
|
|
|
|