Hi All.
I have executed a select qury on the table,its giving -904 error, showing the resource unavailable. the resource its saying the related tablespace partion datasetname.now i checked for the datset on 3.4 on ispf its not available.I checked for the related tablespace and database and associated storagegroup name too, all are present but that dataset is not available.What reason can it be there?can anyone please help me?
Thanks in advance....
resource unavailable..table is not accessible
Moderators: Kalicharan, Moderator Group
You will get this error , if the table(s) is locked by some other process. You may need to restart your job. If you are getting that error conistently, use the following db2 command to know more details.
-DISPLAY DB(database name) SPACE(table space name) LIMIT(*)
Use below command to start database again.
-START DB(Tdatabase name) SPACENAM(table space name) ACCESS(FORCE)
I advise you to contact your DBA, before doing all these.
-DISPLAY DB(database name) SPACE(table space name) LIMIT(*)
Use below command to start database again.
-START DB(Tdatabase name) SPACENAM(table space name) ACCESS(FORCE)
I advise you to contact your DBA, before doing all these.
Natarajan
Chennai
Chennai
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Hi,
You've already give the explanation. The SQL statement could not be executed because resource resource-name of type resource-type was not available at the time for the reason indicated by reason-code. Suggest you get in cotact with you DBA/support. Any solution from Forum would not help you much . . .What reason can it be there?
Regards,
Anuj
Anuj
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Oh..Natrajan - you were just too fast. I asked them many times to change my keboard, but they don't . . .
Last edited by Anuj Dhawan on Fri Apr 10, 2009 3:43 pm, edited 2 times in total.
Regards,
Anuj
Anuj
- dbzTHEdinosauer
- Moderator
- Posts: 981
- Joined: Mon Oct 02, 2006 8:31 pm
The OP posted this same question in another forum, and eventually provided the reason code:
Unavailable Resource Reason 00d70024, TYPE=220 ....
And in the other forum, the appropriate answer:
means DB2 Table Migrated.
suggest that this thread be locked.
In the future, anyone posting a -904 problem without the reason code
should be ignored until the reason code is provided,
so that we can do the research,
since the OP can not do his own.
Unavailable Resource Reason 00d70024, TYPE=220 ....
And in the other forum, the appropriate answer:
means DB2 Table Migrated.
suggest that this thread be locked.
In the future, anyone posting a -904 problem without the reason code
should be ignored until the reason code is provided,
so that we can do the research,
since the OP can not do his own.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page