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
 
Drop Tblspace cause Backup disappear

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

New User


Joined: 08 Mar 2007
Posts: 2
Location: KL

PostPosted: Tue Aug 05, 2008 8:04 am    Post subject: Drop Tblspace cause Backup disappear
Reply with quote

Good day everyone.
I have a serious problem that has not been solved for a very long time.
If i drop a tablespace, any backup info for that tablespace will disappear from SYSIBM.SYSCOPY
What happen? and how do I rectify this?
Thanks in advance
Back to top
View user's profile Send private message
References
dick scherrer

Global Moderator


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

PostPosted: Tue Aug 05, 2008 8:23 am    Post subject:
Reply with quote

Hello,

I believe you want a feature to work differently than intended.

SYSIBM.SYSCOPY contains recovery information. When you drop a table, there can be no recovery - the table no longer exists.

Keep in mind that dropping a table is not some trivial thing to regularly do. When you do drop a table, it requires a new CREATE before it can be used. When you recreate the table and use it, syscopy is re-established. Also keep in mind that db2 does not know the table will recreated when it is dropped. As far as the database knows, the table is no longer needed.
Back to top
View user's profile Send private message
wanderer

Active User


Joined: 05 Feb 2007
Posts: 160
Location: Sri Lanka

PostPosted: Wed Aug 06, 2008 1:27 am    Post subject: Re: Drop Tblspace cause Backup disappear
Reply with quote

darkranger wrote:
I have a serious problem that has not been solved for a very long time.
If i drop a tablespace, any backup info for that tablespace will disappear from SYSIBM.SYSCOPY
What happen? and how do I rectify this?
Thanks in advance


If you have dropped the tablespace and want the data back from the IC backup, you may create the tablespace, tables etc again and try using DSN1COPY with OBIDXLAT parms. This requires that you have a DDL backup of the things you dropped.

Anyway seems strange that it is a serious problem for you especially since as you mentioned that it hasn't been resolved for very long time.
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