Data Warehousing Community Forum
February 08, 2012, 11:24:53 pm

Pages: [1]   Go Down
  Print  
Author Topic: Data on 2 different DB2 servers  (Read 858 times)
Pink Apple
DW Fresher
*

Reputation: +3/-0
Offline Offline

Posts: 14


View Profile
« on: December 16, 2009, 08:07:13 pm »

Here's my problem.  To implement my incremental load logic, when pulling the data from the source I want to limit the rows based on the max load date in my transformation layer.  Source and transformation layer are two different servers.  DB2 - so no db links.  How can I accomplish this in Informatica?

Thanks in advance.
Logged
Sipra
Founder
*****

Reputation: +59/-0
Offline Offline

Posts: 323


Am the King...


View Profile WWW
« Reply #1 on: December 20, 2009, 10:11:29 pm »

To implement my incremental load logic, when pulling the data from the source I want to limit the rows based on the max load date in my transformation layer.

Why Can't you apply Date-timestamp logic for loading the data incrementally... Have more concerns Huh, Keep it more clear with an example...
Logged

Pink Apple
DW Fresher
*

Reputation: +3/-0
Offline Offline

Posts: 14


View Profile
« Reply #2 on: December 30, 2009, 02:49:12 am »

I am using timestamp logic to inplement the incremental load - problem is I want to base what I am pulling from the source (Sybase) on the last update date in the DW (db2).  Because of the multiple connections - I cant just do this simply in the source qualifier.

I figured it out though.  Here is what I did in case it helps anyone else in the future:  I created two separate mappings and execute them consecutively in a workflow.  Session 1 gets me the max update date from the DW, which I set the mapping variable to.  In the post session, I set a workflow variable to this variable.  The second session does the pull from staging.  This mapping also had a mapping variable - which I sent in the pre session to the value in the workflow variable.  Then I use this variable in the source qualifier to limit the records based on the last update date.  It seems like you should be able to do this in a single mapping with 2 pipelines - but the variables werent holding their values as expected - so I split them up.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: