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

DB2 table giving -904 with reason code 00D70024


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Tue Dec 29, 2009 3:08 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Tue Dec 29, 2009 3:23 pm
Reply with quote

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
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Tue Dec 29, 2009 3:29 pm
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Dec 29, 2009 4:21 pm
Reply with quote

Check if DSN mentioned in error is migrated? If yes HRECALL it.
Back to top
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Tue Dec 29, 2009 4:35 pm
Reply with quote

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
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Tue Dec 29, 2009 9:52 pm
Reply with quote

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
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Wed Dec 30, 2009 10:27 am
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Wed Dec 30, 2009 12:01 pm
Reply with quote

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
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Wed Dec 30, 2009 12:14 pm
Reply with quote

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
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Wed Dec 30, 2009 12:58 pm
Reply with quote

Hello Mallik,

Just check if you have any entry in MSTR for that?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Dec 30, 2009 1:27 pm
Reply with quote

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
View user's profile Send private message
senthilssg

New User


Joined: 09 Dec 2005
Posts: 64
Location: USA

PostPosted: Mon Jan 04, 2010 7:24 am
Reply with quote

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
View user's profile Send private message
mallik4u

New User


Joined: 17 Sep 2008
Posts: 75
Location: bangalore

PostPosted: Mon Jan 04, 2010 10:41 am
Reply with quote

Hi Senthil,

Thanks for the valuable reply!!!

I tried all the approaches except RECOVER utility. I hope it works icon_lol.gif
I will let you know the result.
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Load new table with Old unload - DB2 DB2 6
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Reorg abended with REASON=X'00E40347' DB2 2
Search our Forums:

Back to Top