Designing a Job to implement the scenario
The scenario comprises the following four steps:
- Creation of the Job, configuration of the input file parameters, and reading of the input file.
- Mapping of data and transformations.
- Definition of the reference file parameters, relevant mapping using the tMap component, and selection of inner join mode.
- Redirection of the output into a MySQL table.
Step 1: Job creation, input definition, file reading
Procedure
Step 2: Mapping and transformations
This step transforms the data from the input file using a tMap component.
The tMap component can handle:
- multiple inputs and outputs
- search for reference (simple, cartesian product, first, last match...)
- join (inner, outer)
- transformations
- rejections
- and more...
Procedure
Results
The addresses are displayed in upper case and the first names and last names are gathered in the same column.
Step 3: Reference file definition, remapping, inner join mode selection
Procedure
Step 4: Output to a MySQL table
This part directs the output flow to a MySQL table.
Procedure
Results
The target table should be automatically created and filled with data.