View previous topic :: View next topic
|
Author |
Message |
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi,
I am getting -904 with reason code 00D70024 and type of resource is 220 when i tried to edit (Insert/Update) a record in a DB2 table. But I am not getting any problem while browsing/SELECT on the table.
When i verified the description about the given reason code, it says that "No data sets exist for a nonpartitioned table space or index space". If dataset is not available then how am i able to browse it using FileAid/SoftTech?
I verified the status of the tablespace and indexspace using PLATINUM tool. It says the status is RW.
Could you please let me know how to recover the table. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Mallik,
Would you please check that -904 you are getting for tablespace dataset or indexspace?
I have also faced the similar problem & drop & recreate the object. |
|
Back to top |
|
|
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi Guptae,
It is giving for TableSpace.
Even i have applied the same method when i faced same issue in development region. This time i cannot apply the same process because this issue occured in system test environment. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Check if DSN mentioned in error is migrated? If yes HRECALL it. |
|
Back to top |
|
|
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi Shambaji,
when i did HRECALL on the DSN, it says DATASET NOT IN CATALOG.
I think dataset is not migrated,it got deleted. |
|
Back to top |
|
|
sushanth bobby
Senior Member
Joined: 29 Jul 2008 Posts: 1020 Location: India
|
|
|
|
Hi Maliku,
Quote: |
I am getting -904 with reason code 00D70024 and type of resource is 220 when i tried to edit (Insert/Update) a record in a DB2 table. But I am not getting any problem while browsing/SELECT on the table. |
Since you get the error during INSERT/UPDATE and not during select. There might be a space problem. See the MSTR for messages.
Resize the object. Let us know what happens ?
Sushanth |
|
Back to top |
|
|
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi Sushanth,
Following is the error which i am getting while Insert/Update. I didnot find MSTR in this error information. Can you please let me know how to see MSTR messages?
DSNT408I SQLCODE = -904, ERROR: UNSUCCESSFUL EXECUTION CAUSED BY AN
UNAVAILABLE RESOURCE. REASON 00D70024, TYPE OF RESOURCE
00000220, AND RESOURCE NAME
UCTEST01.DSNDBC.DSHMPD02.ITLOC0L2.I0001.A001
DSNT418I SQLSTATE = 57011 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXRRC SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = 102 13172746 0 13820889 -1041948670 12714048
SQL DIAGNOSTIC INFORMATION Cannot Continue. Edit Session will End
Enter SQL Command to View the SQL Statement in Error |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Mallik,
Please check in spool DSN_MSTR ( Here Change dsn_ to your subsystem name) & check for the date when you got the Error . It will have some entry on UCTEST01.DSNDBC.DSHMPD02.ITLOC0L2.I0001.A001 |
|
Back to top |
|
|
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi guptae,
Thanks for the reply!!!
I am not inserting/updating the data using a program/JCL. I am trying to do that using tools like FileAid/SoftTech.
I am getting the error message which i have given in my earlier reply. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hello Mallik,
Just check if you have any entry in MSTR for that? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Mallik Annasagaram wrote: |
I am not inserting/updating the data using a program/JCL. I am trying to do that using tools like FileAid/SoftTech.
|
does not matter how you are communicating with db2
db2 is returning the error.
Mallik,
suggest you do some reading and thinking and try to rise above your current level of ignorance(*)
(*) short form for lack of knowledge; if You are ignorant about its meaning check
en.wikipedia.org/wiki/Ignorance |
|
Back to top |
|
|
senthilssg
New User
Joined: 09 Dec 2005 Posts: 64 Location: USA
|
|
|
|
Malik,
It looks like that dataset is missing in the catalog. I.e. it may be got deleted.
Please check with your DBA or please do the following if you have access to do following
1) If the missing dataset is index space dataset, rebuild the corresponding index would help you to create the dataset again.
2) If the missing dataset is table space dataset,
a) If you want data from that table, Recover the dataset from last image copy dataset using RECOVER utility
b) If don't bother about data in the table, just run the LOAD with empty dataset as input, it will recreate the table space datasets.
Thanks
Senthil |
|
Back to top |
|
|
mallik4u
New User
Joined: 17 Sep 2008 Posts: 75 Location: bangalore
|
|
|
|
Hi Senthil,
Thanks for the valuable reply!!!
I tried all the approaches except RECOVER utility. I hope it works
I will let you know the result. |
|
Back to top |
|
|
|