SOURCE
CITY NAME1 NAME2 NAME3 NAME4
BGLR HCL CSC IBM TCS

TARGET
CITY COMPANY
BGLR HCL
BGLR CSC
BGLR IBM
BGLR TCS

Answer Posted / chethankumar km

using Pivot stage
seq--->pivot--->dataset
in pivot output col name one same as city second one as
company in that col in derivation name1,name2,name3,name4.
compile and run will get desired output.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Triggers,VIEW,Procedures

805


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

667


how to write server Routine coding?

1671


How and where you used hash file?

662


1)what is the size of Fact table and dimension table? 2)how to find the size of Fact table and dimension table? 3)how to implement the surrogate key in transform stage? 4)write the configuration file path? 5)how many types of datasets explain? 6)diff b/w developed projects and migration projects? 7)how to delete the header and footer file of the sequencer file? 8)how can u call the parameters in DS in unix environment? 9) how much data ur getting daily ? 10)

2327






Source has 2 columns: USA,NewYork INDIA,MUMBAI INDIA,DELHI UDS,CHICAGO INDIA,PUNE i want data in target like below: INDIA,MUMBAI1 INDIA,DELHI2 INDIA,PUNE3 USA,NEWYORK1 USA,CHICAGO2

356


What is the sortmerge collector?

672


Differentiate between validated and Compiled in the Datastage?

653


how can we create rank using datastage?what is the meaning of rank?

8195


What is the different type of jobs in datastage?

582


what is repositery?

1303


How to reverse the string using SQL?

899


State the difference between an operational datastage and a data warehouse?

613


What could be a data source system?

581


Where do the datastage jobs get stored?

737