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 

Reg: Problem in inserting rows into a table

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


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Wed Mar 03, 2004 11:59 pm    Post subject: Reg: Problem in inserting rows into a table Reply with quote

Hi,

We have a problem in inserting rows into a table for which we have access to insert values.

First we deleted all the values from the existing table using a standard IBM jcl. This job ended successfully.

Then we unloaded data from production and tried inserting those values into test database. This job got abended putting a lock on the tablespace. We instructed our DB2 admin about this and he released the lock making it to read-write status. Even then we are not able to insert any values into the table. What might be the reason? If you have any standard jcl to solve the problem, please let me know.

Thanks & Regards,
Ravishankar
Back to top
View user's profile Send private message
karavi2000
Beginner


Joined: 17 Aug 2003
Posts: 51
Topics: 26
Location: Chennai

PostPosted: Thu Mar 04, 2004 12:47 am    Post subject: Reply with quote

Hi,

Fine. I forget to add that in my last mail. I error I got was -904. Unsuccessful execution caused by unavailable resource. This I got when trying to insert some values into the table. The DB2 system is active and the table is a standalone table with no key relationships and also we have the authority to insert values into that. Can you figure out the problem. Please let us know the possible reasons for the same.

Thanks & Regards,
Ravishankar
Back to top
View user's profile Send private message
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Thu Mar 04, 2004 4:29 am    Post subject: Reply with quote

The error code -904 is issued for a lot of reasons. If you don't have the reason code coming with this SQL code, you merely don't know what's going on.
An unavailable ressource has nothing to do with permissions or the table definitions, but is either a physical problem of the underlying tablespace or a status problem (try "-display db(...) spacenam(...)").

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