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 

Will this throw a System Abend or User Abend ?

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


Joined: 19 Jan 2003
Posts: 7
Topics: 4
Location: Hyderabad

PostPosted: Fri Jan 31, 2003 5:05 pm    Post subject: Will this throw a System Abend or User Abend ? Reply with quote

Hello Everyone,

I have a doubt on DB2 batch program abends.

If a DB2 batch job abends due to SQL Code -805 or -818 for e.g, will it throw an User abend or System abend. Can anyone please tell what will be the abend code based on their real time experience ?

I am assuming that I have not written and SQL error handling routine in the Cobol program ?

I am sure Production Support guys will be able to answer this very well.

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


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

PostPosted: Fri Jan 31, 2003 5:56 pm    Post subject: Reply with quote

Anandrk,

Both -805 and -818 abends are raised even before the first statement in the program gets excueted. And it has got nothing to do with error handling routine in the cobol program.

Check this links for a detailed explanation of the errors -805 and -818.

-805 DBRM OR PACKAGE NAME NOT FOUND IN PLAN

-818 THE PRECOMPILER-GENERATED TIMESTAMP x IN THE LOAD MODULE IS DIFFERENT FROM THE BIND TIMESTAMP y BUILT FROM THE DBRM z

Hope this helps...

cheers

kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vini
Intermediate


Joined: 12 Jan 2004
Posts: 240
Topics: 48
Location: Maryland

PostPosted: Wed Feb 25, 2004 4:23 pm    Post subject: Reply with quote

Quote:

Both -805 and -818 abends are raised even before the first statement in the program gets excueted


I think thats not entirely correct . Sometimes they are raised whenever the First SQL in a Program is hit ...which could be after the first statement ....
Perhaps this depends on how the Plan or Package is bound ?!!!

I have atleast seen -805 being raised like I mention.
Back to top
View user's profile Send private message
coolman
Intermediate


Joined: 03 Jan 2003
Posts: 283
Topics: 27
Location: US

PostPosted: Mon Jul 31, 2006 8:49 am    Post subject: Reply with quote

Very rarely I have seen a -818 - A question that has been hovering on my mind for a while.

Is there a way that we can simulate an -818. It once happpened to me quite a while back and I can't remember how to simulate it - Here's my thought on the -805, I feel that once a job is compiled and bound atleast once, the next time someone recompiles the program and tries to run it, I feel it should give an -818 (because the location.collection.package would be there in the search order but only the ts would mismatch), however we get a -805

All thoughts are welcome on this
________
make a vaporizer
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