You are on page 1of 2

Figure 9.

Transformer stage editor

9. Click OK to close the Transformer stage editor.

You have configured the Transformer stage to read the data passed to it from the
Sequential File stage, and transform the data to split it into separate month and
year fields, and then pass the data to the target Sequential File stage.

Configuring the target file stage


You can configure the Sequential File stage named Data_target.
1. Double-click the Sequential File stage named Data_target to open the stage
editor.
2. In the “Properties” tab of the “Input” page, select the property named File in
the Target folder.
3. In the File field on the right of the “Properties” tab, type C:\Exercise\
data_out.txt and press Enter.
4. Select the First Line is Column Names property in the Options folder.
5. In the First Line is Column Names field on the right of the “Properties” tab,
select True.
6. Click the Columns tab, you can see that this has been populated with the
metadata that you defined in the Transformer stage. The Designer client
automatically propagates column definitions from stage to stage along the
connecting links.
7. Click OK to close the stage editor.
8. Select File > Save to save your job.

16 Designer Client Guide


You have configured the Sequential File stage to write the data passed to it from
the Transformer stage to a new text file.

Lesson checkpoint
In this lesson, you configured your job.

You learned the following tasks:


v How to edit a Sequential File stage.
v How to import metadata into a stage.
v How to edit a Transformer stage.

Compiling your job


You compile the job to prepare it to run on your system.

Ensure that the job named Exercise that you created in the previous lesson is open
and active in the job design area.

To compile your job:


1. Select File > Compile. The “Compile Job” window opens. As the job is
compiled, the window is updated with messages from the compiler.
2. When the “Compile Job” window displays a message that the job is compiled,
click OK.

The job is now compiled and ready to run.

Lesson checkpoint
In this lesson you compiled your job.

Running your job and viewing results


In this lesson, you use the Director client to run the job and to view the log that
the job produces as it runs. You also use the Designer client to look at the data that
is written by the sample job.

You run the job from the Director client. The Director client is the operating
console. You use the Director client to run and troubleshoot jobs that you are
developing in the Designer client. You also use the Director client to run fully
developed jobs in the production environment.

You use the job log to help debug any errors you receive when you run the job.

Running the job


You use this procedure to run a job.
1. In the Designer client, select Tools > Run Director. Because you are logged in
to the tutorial project through the Designer client, you do not need to start the
Director from the start menu and log on to the project. In the Director client,
your job has a status of compiled, which means that the job is ready to run.

Chapter 1. Tutorial: Designing your first job 17

You might also like