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

problem in recovery


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

New User


Joined: 22 May 2008
Posts: 56
Location: hyderabad

PostPosted: Wed Jul 16, 2008 3:56 pm
Reply with quote

i dropped a table, then i tried to recover with TOLASTFULLCOPY option,
then i got rebuildpending, so i ran REBUILD INDEXSPACE TABLESPACE tablespace-name, which ran with MAXCC=0, but even after that data was not recovered.....suggest me a way to recover my table.
also suggest how to the the RBA required to recover using TORBA option.
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 Jul 16, 2008 9:24 pm
Reply with quote

Hello,

Quote:
suggest me a way to recover my table
Have you verified that you actually have the data available?
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Jul 17, 2008 9:08 am
Reply with quote

Saurabh,

One thing I dint after dropping a table, how will recover. You need to create the table again and load the table using Image copy data.
Back to top
View user's profile Send private message
mailsaurabh.tripathi

New User


Joined: 22 May 2008
Posts: 56
Location: hyderabad

PostPosted: Thu Jul 17, 2008 12:03 pm
Reply with quote

when i ran my recover utility by using TORBA option, it gave MAXCC=0, but still data could not be recovered.the i again ran the utility with RECOVER and REBUILD INDEX(ALL) option, i got following message:

DSNU000I DSNUGUTC - OUTPUT START FOR UTILITY, UTILID = UEDBS02.UEDBS02A
DSNU1044I DSNUGTIS - PROCESSING SYSIN AS EBCDIC
DSNU050I DSNUGUTC - RECOVER TABLESPACE DEDBS01.EMPREC TOLASTFULLCOPY
DSNU1502I -DB2A DSNUCASA - RECOVER OF TABLESPACE DEDBS01.EMPREC WILL PROCEED T
DSNU515I DSNUCBAL - THE IMAGE COPY DATA SET UEDBS02.EMPLOC2 WITH DATE=2008071
IS PARTICIPATING IN RECOVERY OF TABLESPACE DEDBS01.EMPREC
DSNU504I DSNUCBMD - MERGE STATISTICS FOR TABLESPACE DEDBS01.EMPREC -
NUMBER OF COPIES=1
NUMBER OF PAGES MERGED=3
ELAPSED TIME=00:00:01
DSNU500I DSNUCBDR - RECOVERY COMPLETE, ELAPSED TIME=00:00:01
DSNU050I DSNUGUTC - REBUILD INDEX(ALL) TABLESPACE DEDBS01.EMPREC
DSNU718I -DB2A DSNUCINT - NO INDEXES FOUND FOR TABLESPACE 'DEDBS01.EMPREC'
DSNU010I DSNUGBAC - UTILITY EXECUTION COMPLETE, HIGHEST RETURN CODE=4


when i created table, i also created index, but after dropping and the recovery, its sayinf no indexes found.....what may be the reason, and what are the steps to be taken to recover my table
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Thu Jul 17, 2008 2:36 pm
Reply with quote

Saurabh,

Remember this - 'You cannot recreate a table using Recovery utility'.

You can do the following -

(1) Recreate the table manually, with all the required objects.
(2) Load into the above table using image copy (ofcourse, you need to create unload dataset for this).
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts z/vm installation problem All Other Mainframe Topics 0
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Problem with IFTHEN=(WHEN=GROUP,BEGIN... DFSORT/ICETOOL 5
No new posts Need to add field to copybook, proble... COBOL Programming 14
Search our Forums:

Back to Top