Important!
Click the Exercise Jobs button to download the jobs and other
DataStage objects in the Solution Set. You can check your
jobs against the jobs in this file. You will learn how to import
jobs from this file in Module 5. If you have trouble with
completing this exercise, go on and complete Module 5, and
then return to the exercise.
Assumptions:
Start Designer.
Click the Server icon and then click OK to open a new Server
job.
Job name:
JobsCopy
File to copy:
Jobs.txt
File directory:
\DS314SvrFiles
DataStage Essentials
Exercise 4-1
JobsCopy.txt
\DS314SvrFiles
Include column names in the first record (line) of the output file
Steps
1
Add the two sequential stages and the link between them.
Give appropriate names to the stages and link
DataStage Essentials
Exercise 4-1
10 Move to Director from the Designer and then validate and run
your job.
Job name:
JobNames
File to copy:
Jobs.txt
File directory:
\DS314SvrFiles
JobNames.txt
\DS314SvrFiles
DataStage Essentials
Exercise 4-1
Exclude the column names record from the first line in the output
file.
Use the pipe (|) for the column delimiter in the output file.
In the output file, make the first column the job description and the
second column the job ID.
Steps
1
More or less the same steps as in the previous task, except that
you need to add a transformer stage and define the movement of
data from the input link to the output link.
Validate and run your job. View the data in the output file after
the job runs.