Flat file heaving 1 lack records and I want to push 52000
records to the target?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
Answer / tadikonda
using test load option we can specify particular no of records
| Is This Answer Correct ? | 1 Yes | 4 No |
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 |
suppose i have 1000 records and i want to load half of the record in target 1 and half in target2.how u'll do?
Hello , I am unable to work with SQL transformation at least. Where do i need to give connection for sql transformaton ? At session level there is no property . I have created a SQL Transformation and chosen query mode. But do i need to pass connection information to it ? I don't know where do i need to write a query ? I have written a query in file and that file path i gave in the properties of SQL Transformation. But it is not working. Could any one of you please let know how can i work with SQL Transformation? Advance Thanks.
Q. source having mutile depatment of data, dept1, dept2 ....dept10 today. we have mutilple depts in source, we need to generate dept1, dept2 and multile files in target side. today we have 10 dept which have 10 files, tommorow we have only 4 dept and 4 files, dayafter tommorow we have only 6 all the number of files in the targete file directory it's always dynamic. how can acheive it.
How to extract sap data using informatica? What is abap? What are idocs?
What are the advantages of using informatica as an etl tool over teradata?
Differentiate between source qualifier and filter transformation?
Explain sql transformation in script mode examples in informatica
What are your source in project and how you import in informatica? How can i explain abt this?
1 Answers Accenture, Unisoft Infotech,
What is meant by incremental aggregation?
How union transformation is active ?
In operator is used in which transformation in informatica 8.6.0
What is the difference between Bulk Load and Normal Load