Time for action—updating a file with news about examinations by setting a variable with the name of the file

The transformation in the Time for action from Chapter 2 that we just talked about reads a file provided by a professor, simply by taking the name of the file from the command line, and appends the file to the global one. Let's enhance that work.

  1. Copy the examination files you used in Chapter 2 to the input files and folder defined in your kettle.properties file. If you don't have them, download them from the Packt website.
  2. Open Spoon and create a new transformation.
  3. Use a Get System Info step to get the first command-line argument. Name the field as filename.
  4. Add a Filter rows step and create a hop from the Get System Info step to this step. ...

Get Pentaho 3.2 Data Integration Beginner's Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.