Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 6968
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: 10326
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: 788
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us