|
ETL-Tools.Info
|
Business Intelligence - Data warehousing - ETL |
|
Datastage tutorial & guide table of contents:Designing jobs - looking up data using hash files
The data in Datastage can be looked up from a hashed file or from a database (ODBC/ORACLE) source. Lookups are always managed by the transformer stage. Please refer to the examples below to find out what is the use of lookups in Datastage In the transformer depicted below there is a lookup into a country dictionary hash file. If a country is matched it is written to the right-hand side column, if not - a "not found" string is generated. In the job depicted below there is a sequential file lookup, linked together with a hash file which stores the temporary data. |
|
All Rights Reserved |