You are on page 1of 5

Transformer Stage

Important Instructions: 
· Please read the document thoroughly before you code. 
· Please do not change the Business Requirements. 

Coverage: 
1. Transformer Stage 

Source File: Employees.csv

Complexity Level: Easy


Exercise 1: Use “Employees.csv” as your source file and design a DataStage job using the Transformer
Stage to meet the following requirement in the output.

 Split the Address Column in to two columns of Address 1 and Address 2. The Address 1 column
should contain first four characters and the Address 2 column should contain the rest of the
characters.

Controlled copy

Project ID: <Project ID. > <SCI.ID. > / Ver: <Ver No.>

Release ID: QTAD-SRDUC.doc / 1.0 / 21.07.2020 C2: Protected


Transformer Stage

Complexity Level: Medium


Exercise 2: Use “Employees.csv” as your source file and design a DataStage job using the Transformer
Stage to meet the following requirement in the output.

Controlled copy

Project ID: <Project ID. > <SCI.ID. > / Ver: <Ver No.>

Release ID: QTAD-SRDUC.doc / 1.0 / 21.07.2020 C2: Protected


Transformer Stage

 The business rule says that all the employees must retire at the age of 65. Using DOB (Date of
Birth), calculate the retirement date of all employees.
 The Retirement Date should be in the format of “YYYY/MM/DD”.

Controlled copy

Project ID: <Project ID. > <SCI.ID. > / Ver: <Ver No.>

Release ID: QTAD-SRDUC.doc / 1.0 / 21.07.2020 C2: Protected


Transformer Stage

Complexity Level: Hard


Exercise 3: Use “Employees.csv” as your source file and design a DataStage job using the Transformer
Stage Transformation to meet the following requirement in the output.

 You will notice that the first and the last name of the employees are in Upper case. Design a
mapping so that you have the first and last name of the employees are in the title case i.e. the
first letter should be in Upper case and the rest of the letters should be in lower case.
o Example : WILLIAM A BRABSON >> Output : William A Brabson

Controlled copy

Project ID: <Project ID. > <SCI.ID. > / Ver: <Ver No.>

Release ID: QTAD-SRDUC.doc / 1.0 / 21.07.2020 C2: Protected


Transformer Stage

Controlled copy

Project ID: <Project ID. > <SCI.ID. > / Ver: <Ver No.>

Release ID: QTAD-SRDUC.doc / 1.0 / 21.07.2020 C2: Protected

You might also like