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 

Abend in Production - DDIO

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


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Thu Jun 14, 2007 11:09 am    Post subject: Abend in Production - DDIO Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jun 14, 2007 11:45 am    Post subject: Reply with quote

vak255,

Do you have abend-aid installed in your production site? If you don't have then Check this post which explains in detail about solving abends

http://www.mvsforums.com/helpboards/viewtopic.php?t=214


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
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Jun 14, 2007 11:57 am    Post subject: Reply with quote

vak255,
my mainline code consists of 2 parts:
  1. plausi-proofing
  2. 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:
  1. catastrophic - program must end in an orderly manner
  2. uncorrectable error
    • data is invalid, record can not be processed
    • program must skip a record and then go on (after reporting)
  3. 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
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Thu Jun 14, 2007 12:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Thu Jun 14, 2007 12:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
kolusu
Site Admin
Site Admin


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

PostPosted: Thu Jun 14, 2007 12:17 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
vak255
Intermediate


Joined: 10 Sep 2004
Posts: 384
Topics: 79

PostPosted: Thu Jun 14, 2007 12:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
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