0% found this document useful (0 votes)
57 views1 page

Sample Requirement Specification Document

This document outlines requirements for implementing two SCD-2 mappings to load data from source tables S2_EMP and S4_EMP into a target table T1_EMP. The mappings will populate the location field in T1_EMP based on the source table and update T1_EMP whenever designation, salary, or both change in the source tables according to SCD-2 rules. The mappings will be executed in parallel via a worklet named wklt_emp linked to a workflow named wkfl_tgt that runs every Saturday at 11 PM.

Uploaded by

Sam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views1 page

Sample Requirement Specification Document

This document outlines requirements for implementing two SCD-2 mappings to load data from source tables S2_EMP and S4_EMP into a target table T1_EMP. The mappings will populate the location field in T1_EMP based on the source table and update T1_EMP whenever designation, salary, or both change in the source tables according to SCD-2 rules. The mappings will be executed in parallel via a worklet named wklt_emp linked to a workflow named wkfl_tgt that runs every Saturday at 11 PM.

Uploaded by

Sam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

SAMPLE REQUIREMENT SPECIFICATION DOCUMENT

Implement two SCD-2 mappings to load data from S2_EMP and S4_EMP tables into T1_EMP
table

1. If data is coming from table S2_EMP, then Location should be India in T1_EMP and if data is
coming from S4_EMP then location should be Mexico
2. Empid values are different in both source tables. Means there is no duplicate Empid in either
source table and all the values of Empid are different in both of the tables
3. Whenever Designation or salary or both change in any of source then it should update in target
as per SCD-2 rule (means we want current as well as historical data in target).
Rules to implement SCD-2 as per client requirement:
a. When we insert a new record into target then StartDate should be current date and End date
should be Null and Flag=I
b. When we update a record then End date should be current date and Flag=U
c. when we delete any record from source table then it should be logically deleted from target
with Flag=D

Mapping names:

m_s2_emp

m_s4_emp

Session names:

s_ m_s2_emp

s_ m_s4_emp

Create a worklet named wklt_emp and link these two sessions to run in parallel.

Create a workflow named wkfl_tgt and link wklt_emp worklet to the workflow.

Schedule the workflow to run on every Saturday at 11 PM

You might also like