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 > Replication to Flat Files - Data Propagator?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-26-04, 12:42
bobbybee bobbybee is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Replication to Flat Files - Data Propagator?

Hi All,
I have what seems like a very simple requirement to replicate adds/changes/deletes from a DB2 V8 data base to flat text files. The idea is that on a scheduled interval the changes would be written to files on a 1:1 table:file basis. I've reviewed the Data Propagator V8 reference doc, and it seems that the target is always a RDBMS or a gateway-style product.

The key requirement is to only capture the data deltas, and avoid having to write an application that was keyed on timestamp, last time extracted, etc.

Can Data Propagator or anothre IBM utility provide this?

TIA
Reply With Quote
  #2 (permalink)  
Old 01-26-04, 13:52
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
Replication (previously know as DataPropagator) is designed strictly for RDBMS to RDBMS data movement. What I would suggest is that you use triggers to perform this task.

Andy
Reply With Quote
  #3 (permalink)  
Old 01-26-04, 15:04
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
There is something called DPropNR (Data Propogator Non-Relational) from IBM ... Not sure if this will address your need, but it is worth giving a search

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #4 (permalink)  
Old 01-26-04, 15:10
bobbybee bobbybee is offline
Registered User
 
Join Date: Jan 2004
Posts: 2
Quote:
Originally posted by sathyaram_s
There is something called DPropNR (Data Propogator Non-Relational) from IBM ... Not sure if this will address your need, but it is worth giving a search

Cheers
Sathyaram
Many thanks. The DPropNR seems to have been created to support replication with IMS.

Triggers and scheduled extract/purge is one approach that would work, as would driving queries off of timestamps build into each row and track the last extract TS.

I was hoping to build off of the (bulletproof) capture process that DProp contains.

Thanks again,
Bob
Reply With Quote
  #5 (permalink)  
Old 01-26-04, 15:31
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
The original Dprop that interfaced with IMS (from DB2 mainframe) did have an option to update immediately, or write to a sequential file that could be intercepted. That was about 14 years ago.

I have no idea if the Dprop that works on DB2 for Unix, Linux, or Windows has the same feature.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
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