Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] SCD 2 , StartDate and Begin Date Problem
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] SCD 2 , StartDate and Begin Date Problem
 Login/Join
 
Member
posted
Hi,
I have implemented SCD2 Type using in built IWAY functionality. I am using all SCD fields which are current flag,begin date , end date.
but my problem is after the first run for any subsequnt change to the record I want the startdate for the new record to be the end date of the previos record.

Please suggest how can I implement this ?

Regards
Venkat



WebFOCUS8,IWAY DM
Windows, All Outputs

This message has been edited. Last edited by: Tamra,


WebFOCUS8,IWAY DM
Windows, All Outputs
 
Posts: 9 | Registered: July 29, 2014Reply With QuoteReport This Post
Member
posted Hide Post
Hi,
I have follwed below advise from Clif and its now working the way I wanted to implement SCD Type 2. Thanks Clif

"DataMigrator support for Slowly Changing Dimension Type II was designed to assign the "current" date as the begin date for active records.

As you know you can use some other date by settig the global variable &&SCM__SCDATE for re-runs or simply running the flow as though it were some date in the past. This can be easily done in the variables object in a process flow.

So you could initialize the begin date values by running the flow the first time with it set to the turn of the last century. Then for subsequent runs remove the setting and any updates will be assigned the current date."


WebFOCUS8,IWAY DM
Windows, All Outputs
 
Posts: 9 | Registered: July 29, 2014Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [SOLVED] SCD 2 , StartDate and Begin Date Problem

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.