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?
Answers were Sorted based on User's Feedback
Answer / koti
add seq generator to target. and make a look up to target..
then SQ--> Expr--> add two ports in expr. and define the
conditions as iif(sno<500,'true','false')-->router transf.
--> target and instance of target.
definetly it can works like SCD!
Is This Answer Correct ? | 3 Yes | 1 No |
SQ--->AGG SEQ
SOURCE ----->JOINER---->ROUTER---->TARGET1 AND TARGET2
SQ--->EXP
HERE AGG:1. CT---[O]--->COUNT(EMPNO)
2. NEWPORT---[O]--->1
EXP:1.NEWPORT----[O]---->1
JOINER:NEWPORT(EXP)=NEWPORT(AGG)
ROUTER: GROUP1--->NEXTVAL<=ROUND(CT/2)
GROUP2--->NEXTVAL>ROUND(CT/2)
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / ramesh
src--->Exp--->Seq--->Rtr---->tgt
in sequence generator we will get a key and in rtr we will
mention condition
Is This Answer Correct ? | 3 Yes | 2 No |
SQ---->AGR---->RTR---->TGT
SEQ--->RTR
1) Pass all records to Agr
In AGR take count port ion taht give count(empno)
2)Next create SEQQUENCE GENERATOR connect nexval to router
3) Int RTR Create one Group called 1st half
In that give nextval<=count/2
4) Connect to TGTs from 2 groups (1st half and Default)
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / sarat
Method Automated : Use an Unconnected lookup to count the SRC no. of records, and use it in the RTR.
Method Manual : Check COUNT(*) manually and use it in RTR( Not appreciate)
If Agg is used, one record gets loaded in one table only
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / abhishek kumar
in aggregator---
record(field) group by
total_record <- count(record)
router---
condition1 <- (total_record)/2
default
send to target
condition1 to target first and
default to target second.
Is This Answer Correct ? | 1 Yes | 4 No |
Answer / mike
src-->source qual--->exp--->router--->target
based on the conditions we can use other trn's
correct me if i was wrong
Is This Answer Correct ? | 7 Yes | 11 No |
Answer / sandipan pal
at frist lode it to terget 1 after the transection is completed the lode it to terget 2.........
Is This Answer Correct ? | 2 Yes | 11 No |
what is the difference between informatica6.1 and infomatica7.1
Can we use the mapping parameter or variables developed in one mapping into any other reusable transformation?
If a session fails after loading of 10,000 records in to the target. How can you load the records from 10001 th record when u run the session next time?
How can yoU improve session performance in aggregator transformation?
In SCD type 2 if we had select date range. then suppose we had inserted today's date(eq. date is 30 aug 2010) then start date will be today's date(30 aug 2010) what will be the end date,we cant leave it blank?
suppose my source is 101 a 1o1 b 101 c 101 d i want target like that 101 abcd how will u achive this please give me the answer
What aer the out put files that the informatica server creates during the session running?
Why use shortcuts(Instead of making copies).
how to return multiple columes through through un-connect lookup?
How to delete duplicate records in a flat file source?
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.
My questions is i create a two sessions for one mapping.but my requirement is if all number of source records are same as in target then execute first session or some rows are rejected due to t/r logic so session two was execute please clarify