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...


I am having two tables called MASTER and DETAIL. I want to
insert records to both tables. But one condition is that
whenever the insert for MASTER table is success then only
the records will inserted into the DETAIL table, otherwise
abort the job. How can u design this job?



I am having two tables called MASTER and DETAIL. I want to insert records to both tables. But one c..

Answer / subhash

First Load the MASTER table.
Next, Load the DETAIL table with 'look up' on MASTER table.
In the look up, set the look up condition as 'FAIL'.

For each record from SOURCE, If the look up record is not
loaded into the MASTER table.. the job will 'Abort' on look up
failure.

Is This Answer Correct ?    8 Yes 0 No

Post New Answer

More Data Stage Interview Questions

what are .ctl(control files) files ? how the dataset stage have better performance by this files?

0 Answers   IBM,


What are system variables and sequencers in datastage

0 Answers  


How to remove duplicates in transformer stage? in parallel mode

6 Answers   Syntel, TCS,


Parallel job contains more than 20 stages. I want to find out which stage is more performance incentive.

1 Answers   IBM,


1.How do u handle NULL in sequential stage. 2.Difference between switch stage and filter stage.

4 Answers  


Can you explain engine tier in information server?

0 Answers  


How can we improve the performance in datastage?

0 Answers  


How can one find bugs in job sequence?

0 Answers  


how to read 100 records at a time in source a) hw is it fr metadata Same and b) if metadata is nt same?

0 Answers   HCL,


what is the difference between the join and look up explin me one exmple

3 Answers  


Can you explain players in datastage?

0 Answers  


If you want to use the same piece of code in different jobs, how will you achieve it?

0 Answers  


Categories