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 All,

I have three question.

1) How to remove the header and footer in a flat file in
informatica?

2)How to load the first and last record of flat file into
the target?

3)I have a Input and Output table.

Input
Name Salaray Month
A 100 Jan
A 200 Feb
A 300 March
B 400 April
B 500 May
B 600 June


Output
Name Salaray Month
A 100 Jan
A 300 Feb
A 600 March
B 400 April
B 900 May
B 1500 June


How to implement and get the ouput as mentioned above.
If Possible kindly provide the SQL query also.

Kindly any one help to implement this concept.

Thanks,
Pradeep

Answer Posted / babu

Hi Pradeep,

These are columns in
Exp Trans:

name (input & output)
salary (input)
month (input & output)
V_Sal: if(old_name=name,v_Sal+sal,sal) (Variabkle port)
Olad_name=name (Variable port)
o_sal=V_Sal (output port)

connect only name,o_sal,month columns to the target
it gives you what u r expecting. get the

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can you please explain me pre session and post session options?

7590


What are some examples of informatica etl programs?

949


What are the differences between source qualifier and joiner transformation?

1070


Reusable transformation and shortcut differences

1846


What is the use of transformation?

1003


what is song in infrmatica...?

2243


What is a transaction control transformation?

1215


In what scenario we use to improve session performance by pushdown optimization?can any one give example?

6195


How can a transformation be made reusable?

1177


Is it possible to create multiple domains on a single Informatica server?

1251


How to Create a folder using pmrep command?

1182


Explain the features of connected and unconnected lookup.

938


What are the transformations that cannot be placed between the sort origin and the joiner transformation so that we do not lose the input sort order?

1180


Differentiate between a database and data warehouse?

1151


How do you load first and last records into target table? How many ways are there to do it? Explain through mapping flows.

1133