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


Flat file heaving 1 lack records and I want to push 52000
records to the target?

Answers were Sorted based on User's Feedback



Flat file heaving 1 lack records and I want to push 52000 records to the target?..

Answer / pushpa

the answer number 5 for relational database objects only.
if the source is flat file we don't generate any SQL query in
the source qualifier.
then we are using the following way,
seqgen
|
sd-->sq-->expr-->filter--> td.
in the filter condition expression we take nextval<=52000.

Is This Answer Correct ?    12 Yes 0 No

Flat file heaving 1 lack records and I want to push 52000 records to the target?..

Answer / praveen kumar pendekanti

do the mapping as follows

source->source Qualifier->Expression->what ever u want and
final load to target.

Take sequence Generator....In Expression take one port as
Flag and connect the nextval to that port(Nextval port in
sequence generator) start nextval from one and use filter
transformation and use how many records u want.... and then
connect to Target........

Is This Answer Correct ?    8 Yes 0 No

Flat file heaving 1 lack records and I want to push 52000 records to the target?..

Answer / rajkumar_bachu

I think this can be handle through unix. If your source file
contains more than 52k records we can use if statment in
script to take first 52k records from the file by using the
head command and pass into other file and use this file as
your source.

Is This Answer Correct ?    3 Yes 0 No

Flat file heaving 1 lack records and I want to push 52000 records to the target?..

Answer / tadikonda

IF IT IS A FILE

Take one variable with the name $$count at mapping variable
level
Mention the initial value for that $$count=0(For every
record it will increment the count value by 1)


source-sq-Expression-Filter-Target

in that expression just take one o/p port in that
o_count=SetCountVariable($$Count)

Is This Answer Correct ?    3 Yes 2 No

Flat file heaving 1 lack records and I want to push 52000 records to the target?..

Answer / balu

source-->source qualifier-->sequnce generator-->expression--
>filter-->taget

in expression take one output port for generating sequence
after that in filter put the filter condition as sequence
numm <=50000

Is This Answer Correct ?    1 Yes 0 No

Flat file heaving 1 lack records and I want to push 52000 records to the target?..

Answer / tadikonda

using test load option we can specify particular no of records

Is This Answer Correct ?    1 Yes 4 No

Flat file heaving 1 lack records and I want to push 52000 records to the target?..

Answer / pushpa

you have 100000 records and you want to load 52k records in
the target. then,
source definition--> source qualifier-->target definition.
open source qualifier properties select SQL query,in that
field generate the query with WHERE clause rownum<=52000. and
run the session.

Is This Answer Correct ?    6 Yes 20 No

Post New Answer

More Informatica Interview Questions

Data is passed from one active trans and one passive trans into a passive transformation.Is the mapping valid or invalid?

18 Answers   L&T,


Which transformation should we use to normalise the COBOL and relational sources?

0 Answers   Informatica,


can we load the data with out a primary key of a table? what is target plan?

6 Answers   IBM,


What is the difference between bitmap and btree index?

2 Answers   CTS, TCS,


How to update source definition?

0 Answers  


i have thousand records in my source(flat file) i wanna load 990 records i don't want load first 5 records and last 5 records at informatica level?

3 Answers   Satyam,


what are the different types of transformation available in informatica. And what are the mostly used ones among them?

0 Answers  


Explain the types of transformations?

0 Answers  


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

4 Answers  


What is critical mapping?

2 Answers  


Suppose we have a source qualifier transformation that populates two target tables. How do you ensure tgt2 is loaded after tgt1?

0 Answers  


1)What is Data Masking in informatica? 2)How to restrict junk characters while loading data into target. 3) what happen if i won't pass sorted input in a transformation.

0 Answers  


Categories