i have flat file it contains 'n' number of records, i need
to send half of the records to one target table and
Remaining half to another target table: pls full details

Answer Posted / babu

Hi All,

SRC==>SQ==>EXP1==>SRTR==>EXP2==>RTR==>TG1
|| || ||
SEQ1 SEQ2 ==> TG2

EXPEL NATION OF MAPPING
=======================

1.EXP1: ADD ONE OUTPUT PORT AND ASSIGN THE NEXT VAL PORT FROM SEQ1 TO OUTPUT PORT.
i.e: O_SEQ1=SEQ.NEXTVAL
2.SRTR:SORT THE COLUMNS BASED ON THE O_SEQ1 IN DESCENDING ORDER.
3.EXP2:ADD ONE OUTPUT PORT AND ASSIGN THE "NEXT VAL PORT" FROM SEQ2 TO THIS OUTPUT PORT.
i.e:O_SEQ2=SEQ2.NEXTVAL
4.RTR: GRP1(O_SEQ1>=O_SEQ2)
GRP2(O_SEQ1<=O_SEQ2)(DEFAULT GROUP)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have a mapping loading 100 records and it failed on 20th record. how to recover it without changing anything.(in prod where we don't have any access).. (the session should should start from 21 record)

1083


How can you validate all mappings in the repository simultaneously?

758


have u done any performance tuning? how u ll do?

1859


What is the sql query overwrite in source qualifier in informatica

619


How to partition the Session?

648






Explain the difference between a data warehouse and a data mart?

600


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

540


What is pmcmd command?

677


complex mapping ur project u r invlve can u explain and give real time example give me ?

1843


Explain the informatica workflow?

590


Slowly changing dimensions, types and where will you use them

1274


State the differences between sql override and lookup override?

622


what is granularity,what type of granularity we will take in fact tables either lowlevel or highlevel,if two tables having same granularity that is posiable or not

1874


What is the difference between stop and abort in informatica

663


How to go to the older version for a mapping?

604