Informatica expression transformation

download Informatica expression transformation

of 11

  • date post

    26-May-2015
  • Category

    Education

  • view

    272
  • download

    3

Embed Size (px)

Transcript of Informatica expression transformation

  • 1. Expression Transformation Start ETL by selecting powercenter designer 8.6 from start buttonall programsinformatica pc 8.6.0clientpcd, then it opens pcd as followsConnect to the repository named mano by double click on mano, then enter user name and password as mano_2011

2. In oracle create two databases as source (UN&PWD:src_2012) and target (UN&PWD: tgt_2012) and create two tables src_empl and tgt_empl respectively.Then in informatica choose Tools Source analyzer, then choose sources import from database and Create the ODBC connections for source and target databases as follows; 3. (Similarly for target DB) Enter the password as src_2012 and click on connect, then it displays the tables of source database asSelect the table src_empl and click on OK. Then the table will be imported to source analyzer workspace. 4. Similarly click on target analyzer and import the target table from the database asThen choose mapping designer and drag and drop source table and target table into the mapping workspace. Then create ex_total_salary expression transformation by choosing transformations menu and click create, then displays as followsClick on create and drag the fields from source qualifier to expression transformer and add a new port and set the options as follows; new port=TOTAL_SALARY, datatype=decimal,disable input checkbox and in expression type the formula as SAL+COMM. 5. Click on validate and it displays as expression parsed successfully.Then click on repository menu and click on save option to save the mapping. Then click on workflow manager to create session task and workflow for the mapping. The workflow manager opens in a new window as follows; 6. Then choose tools menu and select task developer, then create the relational connections first.to do this choose connections menu and select relational, then select new option and enter the information as follows for source and target databases. 7. Then choose tasks menu and click on create and select task type as Session and give a name for it and click on create button.Then double click on the task and choose mappings tab and set the options as follows for sources and targets. 8. For the target table tgt_empl set relational connection value=tgt_conn_2012, target load type = Bulk. Then click apply and click on OK button.Then choose workflows menu and click create and give the name for it as wf_s_m_ex_tgt_empl and click on OK button then it will creates a start Icon on the workspace, then drag the session on to the work space, then choose tasks and select link task and draw a link between start icon and the session as 9. Then right click on workflow and choose start workflow and it executes the mapping and shows the output window as follows;If execution completes successfully then shows status as succeeded, otherwise it shows status as failed. Then right click on session and choose Get session log, then it displays detailed information about the execution.