Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

SQL Error Code -904

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
rahuindo

New User


Joined: 09 Apr 2008
Posts: 83
Location: Chennai

PostPosted: Tue Feb 10, 2009 2:15 pm    Post subject: SQL Error Code -904
Reply with quote

Hi,
While exectuing a set of jobs, we encountered the following Error:
"DSNT408I SQLCODE = -904, ERROR: UNSUCCESSFUL EXECUTION CAUSED BY AN UNAVAILABLE RESOURCE. REASON 00E30305 RESOURCE 00000801
DSNT418I SQLSTATE = 57011 SQLSTATE RETURN CODE

DSNT415I SQLERRP = DSNXEAAL SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -150 0 0 -1 0 0"

What can be the possible reason for this error code? Is it because of REBIND issues or lack of DB2 Virtual Storage space?
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Tue Feb 10, 2009 2:21 pm    Post subject:
Reply with quote

you can look the message up yourself at IBM's Message Help website:
http://www-03.ibm.com/servers/eserver/zseries/zos/bkserv/lookat/

by the way, professionals use dsntiar to display the complete message/description of negative sql codes.
had you done so, you would have seen the token for the resource.
as it is, you have to go thru the reason/resource codes contained in the documentation which the above link will present to you.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Feb 10, 2009 2:22 pm    Post subject: Reply to: SQL Error Code -904
Reply with quote

search the db2 manuals for the resource identified by 00000801

and act accordingly
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 785
Location: Chennai, India

PostPosted: Tue Feb 10, 2009 2:23 pm    Post subject:
Reply with quote

It seems automatic REBIND was issued for a non-operational package and it failed.

Reason code says package referred is not operational. And find out what made package non-operational and run REBIND for that package.
Back to top
View user's profile Send private message
rahuindo

New User


Joined: 09 Apr 2008
Posts: 83
Location: Chennai

PostPosted: Wed Feb 11, 2009 1:23 pm    Post subject: Reply to: SQL Error Code -904
Reply with quote

Thanks for all your responses.
Part of the problem occurred due to the introduction of a new table C. This table C had a foreign key association with a Table A. Hence all the programs which were having association with the Table A became invalid. Further all the packages which depended on objects having Referential Integrity with Table A also became invalid. It seems strange but during we observed it during the simulation of the problem.
As we have the AutoBind facility, most of the packages became Valid again. But the program which got abended somehow did not get ReBind and hence became inoperative.
Now we are trying to figure out that what would have caused the Rebind to fail for two programs but it passed for the other programs!!
Hope i am able to explain things to you all!!!
Please let me know if you have any updates.
If i find out something i will surely keep you posted with it.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 0 Thu Jan 12, 2017 12:02 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts PL/I code tuning/Performance improvement Virendra Shambharkar PL/I & Assembler 4 Mon Dec 05, 2016 11:57 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us