View previous topic :: View next topic |
Author |
Message |
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Wed Mar 03, 2004 11:59 pm Post subject: Reg: Problem in inserting rows into a table |
|
|
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 |
|
|
karavi2000 Beginner
Joined: 17 Aug 2003 Posts: 51 Topics: 26 Location: Chennai
|
Posted: Thu Mar 04, 2004 12:47 am Post subject: |
|
|
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 |
|
|
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Thu Mar 04, 2004 4:29 am Post subject: |
|
|
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 |
|
|
|
|