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


One flatefile it contains some data but i want to dont want
to load first and last record ..how it is? can u tell me
complete logic?

Answers were Sorted based on User's Feedback



One flatefile it contains some data but i want to dont want to load first and last record ..how it ..

Answer / ashok nidamanuri

We can implement like this
1)Take sequence genarator transformation and get sequence
of no's for each and every record
2)Then in expression take two output port's like out_min
and out_max.Assign Min and Max functions to corrsponding
output ports then u will get Min and max value of the
records
3)Take filter transformaton and filter those two records in
filter tarnsformation.

try with this!!!!!!!!!!!!!!!!!!!

Is This Answer Correct ?    3 Yes 6 No

One flatefile it contains some data but i want to dont want to load first and last record ..how it ..

Answer / purushothaman

put one expression after the source qualifer
and type this code

for example take this record
HDR20008
....
TRL2000800020

output variable name = IFF(SUBSTR(columnname ,1,3)
='HDR','Y','N')
Similarly put for trailer record condition in the
expression

after this expression put the one filter like this
output variable name ='Y'


cheers!!!!!!!!!!!!!!!!!

Is This Answer Correct ?    0 Yes 7 No

Post New Answer

More Informatica Interview Questions

How to use procedural logic inside infromatica?

0 Answers  


What is InformaticaPowerCenter?

0 Answers   Informatica,


how to join two flat files in informatica?

3 Answers   Wipro,


how to send unique records to one target and duplicate records to another target by using dynamic lookup cache????? please explain me briefly///(when we use this we look up on which target unique target ya duplicate target)

3 Answers   Cognizant, HP, TCS,


What are the circumstances that infromatica server results an unreciverable session?

1 Answers  


what is scd?

6 Answers  


What are active and passive transformations?

0 Answers   Informatica,


following table source name gender a1 male a2 female how to change 'male' to 'female' and 'female' to 'male'

2 Answers  


How to find from a source which has 10,000 records, find the average between 500th to 600th record?

3 Answers  


What are the different types of schemas?

11 Answers   ITC Infotech,


What is the grain level in DWH? If i have year to day. what is the grain level of DWH from year to day.

1 Answers   Zensar,


What is deployemnt groups, Lables, query and dynamic deployment group.

1 Answers   IBM, SVP,


Categories