View previous topic :: View next topic |
Author |
Message |
anandrk Beginner
Joined: 19 Jan 2003 Posts: 7 Topics: 4 Location: Hyderabad
|
Posted: Fri Jan 31, 2003 5:05 pm Post subject: Will this throw a System Abend or User Abend ? |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
vini Intermediate
Joined: 12 Jan 2004 Posts: 240 Topics: 48 Location: Maryland
|
Posted: Wed Feb 25, 2004 4:23 pm Post subject: |
|
|
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 |
|
 |
coolman Intermediate
Joined: 03 Jan 2003 Posts: 283 Topics: 27 Location: US
|
Posted: Mon Jul 31, 2006 8:49 am Post subject: |
|
|
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 |
|
 |
|
|