-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Pentaho Data Integration 4 Cookbook

When you develop a transformation which reads command-line arguments or defines named parameters, you usually intend to call it more than once with different values for those parameters or arguments. If you know the values beforehand, then there is an easy way to call the transformation, as you will see in this recipe.
Suppose that you want to create the following three files:
First file: Numbers from 1
to 10
, incrementing by 1
, as in 0
, 1
,..., 10
.
Second file: Numbers from 0
to 100
, incrementing by 20
, as in 0
, 20
, 40
,..., 100
.
Third file: Numbers from 100
to 500
, incrementing by 100
, as in 100
, 200
,.., 500
.
You have a transformation that generates sequences like these. You just have to call it three times with the proper arguments and parameters.
You need the sample transformation that generates a file with a sequence described in the introduction.
Make sure you have defined the variable ${OUTPUT_FOLDER...
Change the font size
Change margin width
Change background colour