Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ 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
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    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

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

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: 1439
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: 56
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: 1439
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SYMNAMES problem jacobdng DFSORT/ICETOOL 7 Thu Dec 22, 2016 7:47 am
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts Problem with GETMAIN command amitc23 CICS 6 Thu Sep 01, 2016 1:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us