Time for action – generating custom messages by setting a variable with the name of the examination file

All the sections in this chapter read an examination file whose name was defined as a named parameter. So far, you run the transformations and jobs without modifying that parameter—you always read the file defined as default. Now it is time to get advantage of that parameter and set a new value at real time. For this section, you will need the examination files in the input folder, and also the job you created in the last section, process_for_each_student.kjb.

  1. Open Spoon and create a new transformation.
  2. Use a Get System Info to get the first command-line argument. Name the field exam_filename.
  3. Add a Filter rows step and create a hop from the ...

Get Pentaho Data Integration Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.