Step1: Create a mapping
- Use source as dept
- Create a table as target and import into informatica
- CREATE TABLE tgt_Active_lookup(
- DEPTNO number,
- DNAME varchar2(30),
- ENAME varchar2(30),
- SAL number,
- LOC varchar2(30)
- )
- Import into informatica as target
- Create a mapping with the name of m_Active_lookup
- Drag and drop source dept and target tgt_active_lookup
- click on lookup tranformation and select emp as lookup table and enable Return all values on Multiple match
- Click on ok
- Drag and drop deptno,dname,loc from source qualifier to lookup transformation
- Double click on Lookup click on condition tab and select condition as shown
- Observer policy property
- Click on ok
- connect corresponding columns from lookup to target
- save it
- create workflow and session
- run it observe run properties
- Source input records to lookup are 4 and output records are 21 hence lookup acting as a Active transformation
No comments:
Post a Comment