IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Resource Unavailable


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Wed Feb 17, 2010 10:53 am
Reply with quote

Hi,

Application program is accessing the table and it is getting -904 resource not available error. What will you do?

I told him I see the resource name. With the help of display command, I will see the status of the object. If it is in any pending status like copy or recp, I will take copy or recovery in order to remove the flag.

He told me that even after you removed the pending status, object is in RW status. Though it is in RW, you are getting -904. He gave me the clue--Vsam data set is deleted.

I know normally if we create the TS, automatically behind the scene, vsam dataset will be created. Can we delete the dataset directly? If yes, will the table be dropped? Please clarify my doubt.

Thanks,
Rajulan.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Feb 17, 2010 11:00 am
Reply with quote

Hello,

If someone deletes an underlying vsam dataset, it causes severe problems. If the dataset is manually deleted, the db2 catalog will not be aware of this and the DROP will not have happened.

The "resource not available" has also been known to happen when an underlying dataset has been migrated.
Back to top
View user's profile Send private message
rajulan

New User


Joined: 11 Jan 2008
Posts: 66
Location: India

PostPosted: Wed Feb 17, 2010 11:21 am
Reply with quote

Quote:

If someone deletes an underlying vsam dataset, it causes severe problems. If the dataset is manually deleted, the db2 catalog will not be aware of this and the DROP will not have happened.


In this case will it show -904? Today I will test this and post the answer as well.


Quote:

The "resource not available" has also been known to happen when an underlying dataset has been migrated.


So if we recall the dataset, issue will be resolved. Right?


One follow up question. Backup(copy) dataset has been migrated to tape and scratched at later point. I do not have the quiesce entry in catalog as well bec modify recovery wiped out all the quiesce entries from the catalog. In that case, can we recover the object?

Thanks,
Rajulan R.C
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts IEF085I REGION UNAVAILABLE,ERROR CODE... Java & MQSeries 0
No new posts UNIX System Services Resource Busy All Other Mainframe Topics 7
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... JCL & VSAM 10
No new posts Finding IMS resource blocker after se... IMS DB/DC 1
No new posts Limit CICS CPU resource CICS 0
Search our Forums:

Back to Top