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...

I have a file it contain 2 records like empname,company as
Ram, Tcs and Ram, IBM. But i want empname,
company1,company2 as Ram, TCS,IBM in the target. How?

Answer Posted / subhash

The Simple way is:
SRCFile---->PIVOT Stage---->TGT
1. in PIVOT stage, select vertical PIVOT option.
2. specify the 'Array Size' as 2
3. select the 'Group by' check box for 'empname'
4. select the 'Pivot' check box for 'company'
then u will get the desired output.

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which r the connectors used in san?

2144


What is the difference between the local container and shared container?

1043


Enlist various types of routines in datastage.

1185


What is a datastage job?

965


What are the various kinds of containers available in datastage?

976


What are the stages in datastage?

1033


What is apt_config in datastage?

1084


In Informatica,for the table I can find coreesponding dependent mappings.Likewise can I find the dependent jobs with all the information by using the table name

2405


What is data partitioning?

1138


What are stage variables?

1140


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

1003


how can we validate the flat files using the date in the header and number of records in the flat file? Using both conditions at a time.

3266


How do you import and export the datastage jobs?

1110


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

8706


how do u catch bad rows from OCI stage? And what CLI stands for?

2751