My source is delimited flat file Flat file data is H|Date
D1|ravi|bangalore D2|raju|pune T|4 The data will be send to
target if the fallowing two conditions satisfied 1.The first
row Date column is equal to SYSDATE 2.Last record second
port equal to number of records. How to achieve?

Answers were Sorted based on User's Feedback



My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The da..

Answer / krish

first flow sq to agg (in agg do count(d1))name it as Y

take a another flow send that to aggg u will get the last
record of the second column name it as some X


send the two flows to router give the condition as that
date column as sysdate and X=Y

Is This Answer Correct ?    1 Yes 0 No

My source is delimited flat file Flat file data is H|Date D1|ravi|bangalore D2|raju|pune T|4 The da..

Answer / shri

The data flow will be
SQ -> aggr T/R -> filter ->target

In aggr T/R define a new port(let X) and find the count of the total records using count(column Name)

In filter write the condition like
IIF((date=sysdate) and (x=y),1,0)

where y=last record port name

If im wrong,let me know the right answer els give a reason lik y its wrong. hope some one replies

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More Informatica Interview Questions

What is Datadriven?

2 Answers   Informatica,


Hi, I am new to Informatica, What is a flat file and how to use flat file in infomratica please help me.

10 Answers   CSC,


IN A MAPPING WHEN WE USE AGGRIGATER TRANSFORMATION WE WILL USE GROUP BY PORT. IF GROUPBY IS NOT SELECTED BY DEFAULT IT WILL TAKE ONLY THE LAST COLUMN WHY????

3 Answers   IBM,


Hi, source data is col1 values are 5,6,7 col2 are 3,2,1 col3 are 8,9,10 and i want to get target as col1 5,6,7 col2 1,2,3 col3 8,9,10 how to do this one?

6 Answers  


How to generate sequence numbers using expression transformation?

0 Answers   Informatica,






i have source in oracle 10g,oracle 8i how will u take the data from two sources

2 Answers   TCS,


Hi Friends, I want lo truncate my records from target before loading current month data,but i dont have permission to truncate with truncate option if u know any other way please give your valuable input for this. Thanks Abhishek

5 Answers   CSC,


How will restrict values in 0-9 and A-Z and a-z and special character.Only allowed these chars otherwise we will reject the records? what is the function we used to restrict...

3 Answers   Cap Gemini,


how many new transformations are introduced in 8.1 which are not available in 7.1? any new transformation in 8.6?

2 Answers   emc2,


What is limitations of truncate and load option

1 Answers   Cap Gemini,


can any one explain about dataflow in the informatica project for bank domain....thanks is advance

0 Answers   IBM,


Can anyone tell me, when a flat file contains different kinds of delimeters available for each line ( For Ex: First line contains [,*&#$] and second line contains [%@$#%^]. Like that all records having different kinds of delimeters. How can we implement this kind of flat file in informatica?

2 Answers  


Categories