Out of 4 mill records only 3 mill records are loaded to
target
and then job aborted. How to load only those 1 mill(not
loaded records) for next run.
This job is not sequential job, it is stand alone parallel
job.What are the possibilities available in datastage8.1?

Answers were Sorted based on User's Feedback



Out of 4 mill records only 3 mill records are loaded to target and then job aborted. How to load ..

Answer / prasanna

Use already loaded records TGT as reference lookup,and use
lookup stage,with DROP option..and design the job.u ll get
req answer. refer
.
.
sour.......>lookup......>tgt

Is This Answer Correct ?    7 Yes 4 No

Out of 4 mill records only 3 mill records are loaded to target and then job aborted. How to load ..

Answer / nish

there are plenty of options available.
just carefully study the scenario.

Source: 4 Mil records (doesn't change)
Target: 3 Million already loaded
Option1:
you just need to identify those 1Million pool them and then load to target.

This is clearly a case for Change Data Capture (CDC) stage.
use the Source As Before Table and Target as After.
Write those 1 Mil records based on change_code() (Deleted) to a file.
Move the contents of this file to target.

Option 2: This scenario also hints at updating the target with merge stage.use the DROP option to gather into a file and then update the target.

Option 3: Look Up being a performance concern should be your alternative.

Is This Answer Correct ?    2 Yes 0 No

Out of 4 mill records only 3 mill records are loaded to target and then job aborted. How to load ..

Answer / bharathq

Check point option is for only for sequence jobs,
but not for the parallel jobs.

Is This Answer Correct ?    1 Yes 0 No

Out of 4 mill records only 3 mill records are loaded to target and then job aborted. How to load ..

Answer / siva

Hi Chethan,can u elaborate ur answer?

Is This Answer Correct ?    0 Yes 0 No

Out of 4 mill records only 3 mill records are loaded to target and then job aborted. How to load ..

Answer / pranay

in target rdbms we can select insert rows which does not
exist

Is This Answer Correct ?    0 Yes 0 No

Out of 4 mill records only 3 mill records are loaded to target and then job aborted. How to load ..

Answer / chethankumar

just use checkpoint option

Is This Answer Correct ?    4 Yes 5 No

Out of 4 mill records only 3 mill records are loaded to target and then job aborted. How to load ..

Answer / venkatesh

first load the data using with surrogate stage
after that use filter stage and take that key of
surrogateand in lookup maintain the Drop option

Is This Answer Correct ?    2 Yes 8 No

Post New Answer

More Data Stage Interview Questions

What is the difference between passive stage and active stage?

1 Answers  


1.What is a delta record? How you will read it? 2.What are the different types of sorting?

0 Answers   EDS,


where the log files or tables can store in DS?

2 Answers   IBM,


how to configure databases through datastage

2 Answers  


if 3 table having different columes. like first table having 4 columns , second table having 3 columns and third table having 2 columns then how to capture the data by using funnel stage in parallel jobs...srinu.thadi

17 Answers   IBM, TCS,


Can you explain engine tier in information server?

1 Answers  


How many types of views are there in a datastage director?

1 Answers  


on how many columns we can perform aggregation in the aggregator stage?

2 Answers   Reliance,


What is difference between join, merge and lookup stage?

1 Answers  


col1 123 abc 234 def jkl 768 opq 567 789 but i want two targetss target1 contains only numeric values and target2 contains only alphabet values like trg1 123 234 768 567 789 trg2 abc def jkl opq

9 Answers   Patni,


How do u convert the columns to rows in datastage?

1 Answers  


If seg file having 10 records ex:eid 1 2 " " 10 if oracle database having 100 records ex:eid 1 2 " " 100 how to delete matched records permenently from oracle database using datastage ?

5 Answers   Infotech,


Categories