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 to extract data from a flat file.the flat file has 10
records.i have to extract the 1st and 5th record every
time.how is it done.

Answer Posted / bala

using sequence generator we can achieve desired result
enable SG properties as
start value=1
end value=5
enable cycle....

then in expression write a condition that
if SG values(num) are 1 and 5 then pass them into filter
iif(num=1 and num=5,true,false)

in filter ...make this column condition as true...

u will get every 1st and 5th record from your source

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the reusable transformations?

1166


design of staging area?

2030


Explain the different dimensions.

967


What is the difference between writing a joiner query in ANSI style and THETA style?

2381


In informatica workflow manager, how many repositories can be created?

1363


What are active transformations.

1656


How to join three sources using joiner? Explain though mapping flow.

1147


4 yrs etl devloper roles and responsibilities?any body give solutions

2168


What is workflow? What are the components of workflow manager?

1177


Where are the source flat files kept before running the session?

1078


What does reusable transformation mean?

1132


Mention few power centre client applications with their basic purpose?

951


Explain in detail scd type 2 through mapping.

1041


How do you change a non-reusable transformation to reusable transformation?

999


Source and Target are flat files, Source table is as below ID,NAME 1,X 1,X 2,Y 2,Y On Target flat file i want the data to be loaded as mentioned below ID,NAME,REPEAT 1,X,2 1,X,2 2,Y,2 2,Y,2 How to achieve this, Can i get a map structure

7391