Does Optim have the following capability?
We have a system that has copies of another system's tables as they are needed for reference purposes. We are currently archiving(via Optim) the 'source' system tables monthly. When a row is archived and purged from the source system table we need to archive and purge the row from the 'copied table'. We would like to use Optim to read the source system's archive files and pull out the ids of the archived rows and place them into a 'work/temp' table along with the actual table name as another column. For instance, we have an Order table with OrderID as the unique key column. If OrderID 10 and 15 are archived we would like to have a rows populated on the 'work' table as below.
The problem we are having is this. For the Table name column in the work table how do we get it populated? Hard code it somewhere within Optim? Have Optim populate it from source table name somehow?
|
Table name
|
Unique ID (of row in source table)
|
|
Order
|
10
|
|
Order
|
15
|
Using the 'work' table we would then look at the Order table in the destination(copied) system and archive/purge the corresponding row.
We can restore the .af files to separate tables and use those to process the copied table archives but that seems to be a lot of work. We are talking about over 100+ tables in the near future.
Thoughts and/or other ideas?
------------------------------
Phil Neff
------------------------------
#InfoSphereOptim#Optim