If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Change OBID of a table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-04-10, 05:45
amir19 amir19 is offline
Registered User
 
Join Date: Oct 2007
Posts: 3
Change OBID of a table

Hi,

I need to change OBID of some tables, but I could not find any solution for it.
I thought that REPAIR utility can do, but I was not succeed with it yet.

Please guide me if anyone know about this topic.

Thanks,
Amir
Reply With Quote
  #2 (permalink)  
Old 07-05-10, 13:25
stolze stolze is offline
Registered User
 
Join Date: Jan 2007
Location: Jena, Germany
Posts: 2,662
Why do you want to change the object ID?
__________________
Knut Stolze
IBM DB2 Analytics Accelerator
IBM Germany Research & Development
Reply With Quote
  #3 (permalink)  
Old 07-06-10, 03:40
amir19 amir19 is offline
Registered User
 
Join Date: Oct 2007
Posts: 3
Change OBID of a table

Hi,

There is a problem from restoring the taken backup data from tables of a region to other.

I have simple tablespace with many tables included. I need to restore some of the tables into another region with resume yes option.

But the taken backup could not restored becuase as you know at
WHEN(00001:00002 = X'000F') syntax of load CNTL , hex of OBID of table used as a key to find the specific unloaded data from whole backup which has been taken.

Unfortunatly, OBID of the sourse region is not match with destination table.
I decide to change OBID of destination table so that the data can be restored.
Otherwise, the table must be drop/define with new OBID.

I hope I could explain my problem.

thanks,
Amir
Reply With Quote
  #4 (permalink)  
Old 07-06-10, 05:53
tibullo tibullo is offline
Registered User
 
Join Date: Dec 2004
Location: Italy
Posts: 32
What about a DSN1COPY with the OBIDXLAT Option?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On