Professional Documents
Culture Documents
Business Requirement:
Informatica PowerCenter mapping examples that demonstrate different scenarios of processing flat file data
Solution URL:
https://community.informatica.com/solutions/1639
Supported Versions:
PowerCenter 9.1 and 9.5
Description:
In spite of the prominence of RDBMS storage, flat files will continue to be used to store and exchange data. While flat files provide simplicity, they do not provide sophisticated built-in functionality for data processing. Informatica PowerCenter offers a comprehensive set of features that makes it easy to work with flat file data. Informatica PowerCenter can be configured to process both delimited and fixed width flat files. It also supports numeric, string and datetime data types for flat file sources and targets. When the Integration Service reads non-numeric data in a numeric column from a flat file, it drops the row and writes a message in the session log. Also, when the Integration Service reads non-datetime data in a datetime column from a flat file, it drops the row and writes a message in the session log. Implementation Guidelines: Template 1 - When data is sourced from a flat file it is not usually in any particular order. The Sorter transformation allows you to overcome flat file limitations in many scenarios. In this example it will be increase the efficiency of an aggregator by allowing its use in the sorted input mode. Template 2 - join information from two heterogeneous sources: one database source and one flat file source. Template 3 - This mapping creates 3 output files containing header, detail and trailer records that can be combined using a post-session command. The trailer record contains an extract date and row count that can be used for reconciliation purposes.
Please rate this solution and share your feedback on Marketplace Website.
The identifier port will be used by sorter tranformation to sort the records.
b. m_Join_FlatFile_with_Database_Table:
Observe
the
sources
are
Please rate this solution and share your feedback on Marketplace Website.
Joiner transoformation combines the data together. Observe the ports and condition tab as shwon below.
4. Open the workflow in Workflow Manager. Assign the integration service in Workflow > Edit -> Integration Service 5. Edit session and assign valid connection object for the source and target. 6. For more details for importing object please visit our YouTube link.
Please rate this solution and share your feedback on Marketplace Website.
7. Observe the component tab of s_m_HDR_DTL_TLR, command is executed the combine three output into one.
8. Execute the workflow and observe the result target folder, target file and target table.
Please rate this solution and share your feedback on Marketplace Website.
Please rate this solution and share your feedback on Marketplace Website.