You are on page 1of 3

Assignment-3

List of sources:

Source table: EMP( empid, ename, salary, deptno)

Source Flat file: DEPT (Deptno, Dname,Location)

Source Flat file: EMP_Details ( empid, Fname, Lname, Country, State, City, Pin code, Salary)

List of targets:

Target table : TGT_1 (empid, ename, sal, deptno, deptname) Note: empid is primary key

Target table : TGT_2(Location,Tot_salary, Avg_sal)

Target table : TGT_3(Deptno, emp_count)

Target Flat file: TGT_4( Eid, Ename, Address, Salary)

Target table: TGT_5 (empid, ename, sal, deptno, deptname) Note: In this table there is no primary key

Target table : TGT_6 ( SerialNo, salary)

Target table: TGT_7 (SerialNo, Deptno, Sal)

. Scenario-5 Load data from sources into target table TGT_5 using Active and unconnected Lookup. Scenario-6 Load data from sources into TGT_2 which should store total salary for each location and try to load Avg_sal also in same table. Note: Connected means which is connected to pipeline and Active means which can change the number of rows input and number of rows output from it.Scenario-1 Load data from sources into TGT_1 using connected Lookup on DEPT Flat file Scenario-2 Load data from sources into TGT_1 using unconnected Lookup on DEPT Flat file Scenario-3 Load data from source tables into TGT_1 table and allow only those records to load into target for which deptno is 10. (Lookup is mandatory) Scenario-4 Load data from sources into target table TGT_5 using Active and connected Lookup. Note: Check in checkbox for option "Return All Values on Multiple Match" while creating the lookup to make it active. Note: Check in checkbox for option "Return All Values on Multiple Match" while creating the lookup to make it active. Scenario-7 Load data from sources into TGT_3 which should store total employees working in each department Scenario-8 Select top 5 salaries from EMP source and load into TGT_6 table.

As there is no primary key in source. Scenario-10 Select highest salary for each department and load into TGT_7 Scenario-11 Load data from EMP_Details source into TGT_4 Target. Whenever we run session then following operations should be performed: 12. 16. Insert a duplicate record in source table and then run the session and try to track that where this record goes when forward rejected records is checked in Update strategy.as of now don’t consider dd_update in this particular scenario. . Port mapping requirement is mentioned in below table: Source ports Target ports empid Eid Fname Ename Lname Ename Country Address State Address City Address Salary Salary Scenario-12 to 16 Load data from sources into TGT_1 using data driven feature in session property. Try to implement logic in update strategy just to Insert record into target table (if not exists in target) or delete record from target (if deleted from source). It should update existing record into the target whenever any record is updated in source.Scenario-9 Select bottom 5 salaries and load into TGT_6 table. Note. Try to perform update operation without declaring primary key in target. And try to load these rejected records in a flat file located at your desktop. It should inset a new record into the target whenever a new record is inserted into the source 13. 15. 14. So.