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 / sanjay

1. Method

We can do it through
sq->Exp Trns->filter-->Target
!
SG

In filter trans by giving a condition "NUM=1
or NUM=5" we can get the result.

* But if you run the wf next time u need to change the NUM
value bcoz sq increments the value accrdng to the defined
condition whenever it runs the session.

2. Method
We can do it through Router trns

SQ—-Exp—Router--Target1 & Target2
!
SG
In Ist group NUM=1 & in 2nd group NUM=5.

where we'll define two groups, One for row 1 and other for
row 5.
* we need to chng the SG value every time
3. method

We can do it through parameters & variables

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is session task and command task?

1291


What is an active transformation?

1098


What are the new features of Power Center 5.0?

1777


How can we delete duplicate rows from flat files?

1223


How do you load alternate records into different tables through mapping flow?

1855


What is resilience time?

1134


How we can create indexes after completing the loan process?

1208


Is there any target staging area in informatica not staging area

2578


what are the fact table & dimensional table in pharmaceutical and hospotal related products???

2136


Plz can any one say me how to get the informatica certification materials and dumps

2048


Enterprise data warehouse your projects phase by phase explain?

1917


On which transformations you created partitions in your project?

1347


Can we override a native sql query within informatica?

1034


Briefly describe lookup transformation?

1046


How to generate sequence numbers using expression transformation?

1087