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 

SQLCODE = -904 Error

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


Joined: 29 Jul 2004
Posts: 10
Topics: 6
Location: India

PostPosted: Sat Feb 05, 2005 5:01 pm    Post subject: SQLCODE = -904 Error Reply with quote

Hi All

Iam trying to run a simple query, but iam keep getting an error RESOURCE UNAVAILABLE. When I DEBUG the program it was showing SQLCODE = -904.

Please let me know why iam getting this error and how to resolve this issues.

Thanks in advance
Friend
Back to top
View user's profile Send private message MSN Messenger
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Mon Feb 07, 2005 8:58 am    Post subject: Reply with quote

syedfasi,
Check with the DBA's. The table maybe in a copy pending status after mainentance.
Back to top
View user's profile Send private message
arunkumar_e
Beginner


Joined: 06 May 2004
Posts: 27
Topics: 16
Location: Bangalore

PostPosted: Wed Mar 09, 2005 11:34 pm    Post subject: Reply with quote

Syedfasi,
I Guess its due to large amount of data being fetched from your querry.Try to use
Partitions and run the querry.
_________________
Arun
"Genius is one percent inspiration and ninety-nine percent perspiration." -- Thomas A. Edison
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Fri Mar 11, 2005 8:32 am    Post subject: Reply with quote

There are lots and lots of reasons, why an "unavailable ressource" condition can occur. Associated with this sqlcode there are valuable informations in the SQLCA:
- a reason code (usually in the pattern 00E12345)
- a ressource type (is it a tablespace, a table, a package ?)
- a ressource name

ONLY with these informations you are able to analyze the error situation.

regards
Christian
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 -> Database 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