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 with data comming as
1,x1,x2,x3
2,a1,a2
3,b1,b2,b3,b4
1,y1,y2,y3
2,c1,c2,c3
3,d1,d2

my out put should be as follows

x1,x2,x3,a1,a2,<null>,b1,b2,b3,b4
y1,y2,y3,c1,c2,c3,d1,d2,<null>

Please let me know how can we acheive this in informatica

Thanks in advance

Answer Posted / rahul

use an exp t/r,

take an variable port as count = 0
keep inc the count by 1 and place a conditin if count > 4 ,
than set count = 0

and in other variable port ypu concate the columns value.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is deployment group?

1304


Informatica settings are available in which file?

1047


What happens when a session fails and you click on recover?

1178


What are active and passive transformations?

1134


What is the meaning of up gradation of repository?

2057


When do you use sql override in a lookup transformation?

1143


can i any one explain me realtime healthcare project explanation..for interview .iam new to informatica .thanks in advance.

3929


Explain about cumulative Sum or moving sum?

1096


EXL informatica Questions

1447


TELL ME ONE COMPLEX MAPPING IN UR PROJECT? chandumba2005@gmai.com

1921


What are the basic requirements to join two sources in a source qualifier transformation using default join?

1216


What is a connected transformation?

1185


What is the fact table?

1140


Which are the different editions of informatica powercenter that are available?

1084


I have 10 columns in a flat file and 10 rows corresponding to that columns. I want column number 5 and 6 for last five records. In unix as well as informtica.

1691