Time for action – creating a simple hello world job
In this tutorial, you will create a very simple job so that you get an idea of what jobs are about.
Although you will now learn how to create a job, for this tutorial you first have to create a transformation.
Open Spoon.
Create a new transformation.
Drag a Generate rows step to the canvas and double-click it.
Add a
String
value namedmessage
, with the valueHello, World!
.Click on OK.
Add a Text file output step and create a hop from the Generate rows step to this new step.
Double-click the step.
Type
${LABSOUTPUT}/chapter10/hello
as filename.In the Fields tab, add the only field in the stream—
message
.Click on OK.
Inside the folder where you save your work, create a folder named
transformations
.Save the transformation with the name
hello_world_file.ktr
in the folder you just created. The following is your final transformation:Now you are ready to create the main job.
Select File | New | Job or press Ctrl+Alt+N. A new job is created.
Press Ctrl+J...