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

In which circumstances that informatica server creates Reject files?

2 Answers  


What are the uses of a Parameter file?

3 Answers   CSC,


explain about unit testing? in real time?

0 Answers   L&T,


Debugger what are the modules, what are the options you can specify when using debugger, can you change the expression condition dynamically when the debugger is running.

0 Answers  


i have a flat file and the file s are like below ****%%^^@@@G**@#A@#$N*&^E%^S@#h@@@##$$ IN THIS FORMATE Means un limited special charecter between and sides of the string data..output should be(GANESH) HOW YOU HANDEL THIS TYPE OF RECORDS,,COZ U DON"T KNOW WHERE AND WHAT ARE THE SPECIAL CHARACTERS IN BETWWEN THE NAME...

6 Answers   IBM,


write sql query to remove null value following table id name 101 dinesh null jyothi null bharathi 102 suresh null shilpha 103 prakesh null suma i want the output id name 101 dinesh 102 suresh 103 prakesh

5 Answers   Accenture,


What is Session and Batches?

0 Answers   Informatica,


What is meant by pre and post session shell command?

0 Answers  


How to elaborate tracing level?

0 Answers  


What is a repository? And how to add it in an informatica client?

0 Answers   Informatica,


What is confirmed dimension?

3 Answers  


What are the basic needs to join two sources in a source qualifier?

3 Answers  


Categories