Get started building your first job. After taking the tour you should be familiar with all the parts of the studio, now let's bring it all together.
Step 1 – Create the new job from the menu icon shown.
Step 2 – Expand the Metadata section on the left and expand File Delimited to find and drag in the metadata for the flat file StreamngResults.csv to the design window.
Next you will build the full job flow by adding the tMap component, used to map input source columns to output target columns, and then a final component the tFileOutputDelimited component used to write to a flat file.
Step 1 – Either type in the design window tMap and select tMap, or drag it over from the palette under Processing on the right to the design window.
Step 2 – Connect the tFileInputDelimited to the tMap by clicking on the output row connector as shown in the video.
Step 3 – Right click on the tMap and select Row and select *New Output* and drag and release and start typing tFileOutputDelimited once visible select it and it will be connected to the tMap.
In this step, you will be mapping the input fields to the output field and in this example creating the output schema at the same time.
Step 1 – Double Click on the tMap Component to open the mapping interface.
Step 2 – Highlight the fields you want in the output file and drag them to the output side (Note: when there a dark blue line visible release the mouse to drop them into the target. This will create the target columns in the tFileOutputDelimited schema.)
Step 3 – Click OK and Yes to save changes and to propagate the changes to the output file schema.
The final step is to run the job within the studio runtime environment and view results.
Step 1 – Click on the Run Tab below the Design window
Step 2 - Click Run
Note – this builds the java needed to execute the flow built in the job. Once the java has been built the job executes. You will see the throughput metrics on the rows between each component. You can either open the file from the tFileOutputDelimeted or right click on the components and choose view data to see the data written to the target file.