Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Hi
Can any one help regarding below

INPUT

NAME LOC
Ram hyd
Ram ban
Raj chn
Raj Pun
Sam del

OUPUT

NAME LOC
Ram Hyd ban
Raj chn pun
sam del

Answer Posted / ashok

TRANSFORMER:
------------
STEP1:
Take 3 stage variables
NAME--->s1
if s1<>s3 then LOC else s2:LOC --->s2
s1--->s3
STEP2:
In derivations s2--->LOC Field
Remove duplicate stage:
-----------------------
Retaining last

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between server jobs & parallel jobs?

1133


Explain connectivity between datastage with datasources?

1043


What is the purpose of pivot stage and types of containers in datastage

1082


What is the command line function to import and export the ds jobs?

1192


Describe the main features of datastage?

1125


Explain ibm infosphere information server and highlight its main features?

1140


How many types of stage?

1227


Why we use surrogate key?

1306


How do u convert the columns to rows in datastage?

1248


If we take 2 tables(like emp and dept),we use join stage and how to improve the performance?

2103


What are the primary usages of datastage tool?

1131


How to Remove Duplicate using SQL?

1424


What are the steps needed to create a simple basic datastage job?

1308


What are the important features of datastage?

1199


What are transforms and what is the differenece between routines and transforms?

1108