Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

How to read multiple files using a single datastage job if files have the same metadata?

0 Answers  


How to initialize environment variables?

4 Answers   Infosys,


i have a scenario in which i/p columns areID,salary with 1,1000 2,2000 and 3,3000 i need an extra column in the o/p named avg(salary)how can i get it?

4 Answers   L&T,


how to get sum of sal based on dept_no and then sum of all sal irrespective of dept_no in same sql. output:- 10, 200(sum of sal for dept_no 10), 5000(sum of all sal)

0 Answers  


what is data mapping

2 Answers  


Why we need datasets ratherthan sequential files?

5 Answers  


Hi guys, please design job for this, MY INPUT IS COMPANY,LOCATION IBM,CHENNAI IBM,HYDRABAD IBM,PUNE IBM,BANGLOORE TCS,CHENNAI TCS,MUMBAI TCS,BANGLOORE WIPRO,HYDRABAD WIPRO,CHENNAI HSBC,PUNE MY OUTPUT IS COMPANY,LOCATION,COUNT IBM,chennai,hydrabad,pune,banglore,4 TCS,chennai,mumbai,bangloore,3 WIPRO,hydrabad,chennai,2 HSBC,pune,1 Thanks

3 Answers   IBM,


convert yyyy mm dd to dd mm yyyy?

4 Answers  


what is difference between migration project and integration project? can anyone explain with the example Thanks in advance

2 Answers   Satyam,


eno ename esal acct1 acct2 amount1 amount2 100 suresh 10000 sbi1 sbi2 1000 2000 this is our sourse data i would loke to disply like this eno ename esal acct amount 100 suresh 10000 sbi1 1000 100 suresh 10000 sbi2 2000

2 Answers   HCL,


options available in sequence job to run,validate?

0 Answers   CTS,


Hi all, can u explain header and trailer records in file? If a file has header and trailer /master-detail records how will you read it in datastage?

3 Answers  


Categories