Hi All,

I've 110 records in my table but 101 records contains an
error. When I run the session, I want to load the 100
records into the target. Can anyone suggest me the best
solution for this...


Thanks in Advance,

Answers were Sorted based on User's Feedback



Hi All, I've 110 records in my table but 101 records contains an error. When I run the sess..

Answer / ankit gupta

set commit interval as 100 in WF session and commitType as
target

Is This Answer Correct ?    15 Yes 7 No

Hi All, I've 110 records in my table but 101 records contains an error. When I run the sess..

Answer / srinivas

i believe this would certainly serve your purpose.

connect your source to filter transformation. if your
source contains p_key then the condition should be
p_key<=100. if it doesnt containa a primary key ex a flat
file create a new port in the filter transformation name it
s_no and connect the nextval port of seq.gen and the
condition shud be s_no<=100 and connect to the target.

Is This Answer Correct ?    9 Yes 3 No

Hi All, I've 110 records in my table but 101 records contains an error. When I run the sess..

Answer / sri

thank you for the answer, but I'm just wondering where to
write this code.
Could you let me know about the same.


Thanks,

Is This Answer Correct ?    5 Yes 1 No

Hi All, I've 110 records in my table but 101 records contains an error. When I run the sess..

Answer / jithendra

Hi,
In the session- goto Recovery strategy and then select 'Resume from last check point' it will run when the job failed at record after the next rerun it will run from the where it stopped.

Is This Answer Correct ?    0 Yes 0 No

Hi All, I've 110 records in my table but 101 records contains an error. When I run the sess..

Answer / naveen

Hi Ritu,

As per my knowledge there is no property to skip the rows
in source in case of relational table.

Please let me know if am wrong.

i would go with Answer #3 given by srinivas.

Regards,
Naveen

Is This Answer Correct ?    0 Yes 1 No

Hi All, I've 110 records in my table but 101 records contains an error. When I run the sess..

Answer / cutepa1

Is this what you wanna say that 101th observation has an
error in your dataset and you wanna save those
observations(until 100th) into the target dataset. If it so,
I've an idea I think it shld help a bit.

Data nn;/* your new dataset*/
set base.agents;
/* a dataset named 'agents' that has more than 100
observations*/
if _Error_=1 then output;
/* _error_ is a PDV variable that returns '0' when there is
any error in the code and returns '1' when there is no error */
run;

Is This Answer Correct ?    0 Yes 4 No

Hi All, I've 110 records in my table but 101 records contains an error. When I run the sess..

Answer / ritu sharma

go the source and there is a property of skip the number of
rows.set it to 1 and then save the mapping and run the workflow.
Ritu Sharma

Is This Answer Correct ?    3 Yes 7 No

Post New Answer

More Informatica Interview Questions

How to display session logs based upon particular dates. If I want to display session logs for 1 week from a particular date how can I do it without using unix.

1 Answers   DELL,


In a scenario I have col1, col2, col3, under that 1,x,y, and 2,a,b and I want in this form col1, col2 and 1,x and 1,y and 2,a and 2,b, what is the procedure?

5 Answers  


How to delete the (flat file) data in the target table after loaded.

2 Answers   TCS,


what happens if you try to create a shortcut to a non- shared folder?

1 Answers  


What is the difference between sequential batch and concurrent batch and which is recommended and why?

1 Answers  






How to differentiate between the active and passive transformations?

0 Answers  


why union is active transformation?

4 Answers   IBM,


What is exact use of 'Online' and 'Offline' server connect Options while defining Work flow in Work flow ?

1 Answers  


How can we integrate different flat file data in a single mapping and with in a single execution

1 Answers  


what are the best practices to extract data from flat file source which are bigger than 100 mb memory?

0 Answers   Wipro,


what is fact and what types of fact tables is there

4 Answers   Cap Gemini,


how to run the batch using pmcmd command

2 Answers   Wipro,


Categories