Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
problem in recovery

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
mailsaurabh.tripathi

New User


Joined: 22 May 2008
Posts: 23
Location: hyderabad

PostPosted: Wed Jul 16, 2008 3:56 pm    Post subject: problem in recovery
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
References
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 8768
Location: 221 B Baker St

PostPosted: Wed Jul 16, 2008 9:24 pm    Post subject:
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: 1477
Location: Bangalore,India

PostPosted: Thu Jul 17, 2008 9:08 am    Post subject:
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: 23
Location: hyderabad

PostPosted: Thu Jul 17, 2008 12:03 pm    Post subject: problem not solved
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: 1477
Location: Bangalore,India

PostPosted: Thu Jul 17, 2008 2:36 pm    Post subject:
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1