Using named parameters

Just as transformations, jobs can also have named parameters. You define them in the same way as you do in transformations, that is, in the Parameters grid in the Job properties window. Once defined, the named parameters will be available to be used as regular Kettle variables.

Now let's go a step forward. If a Job or Transformation that has named parameters is called by a Job—using a Job or Transformation Job entry—it's in the calling Job where you provide the values. To explain how you do this, we will develop a Job that calls a Transformation with named parameters.

In this example, we will use the transformation named cutting_exam_file.ktr created in Chapter 12Creating Portable and Reusable Transformations. So ...

Get Learning Pentaho Data Integration 8 CE - Third Edition 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.