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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between an operational datastage and a data warehouse?

1155


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

2375


How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.

3460


Differentiate between data file and descriptor file?

1063


What are the steps needed to create a simple basic datastage job?

1240


What are the repository tables in datastage?

1309


root tree will find which is server job and which is parallel job?

1970


Can you highlight the main features of ibm infosphere information server?

1088


how to add a new records into source?

2000


How you can fix the truncated data error in datastage?

1793


How do you import and export data into datastage?

1237


Where the datastage stored his repository?

1089


What are constraints and derivations?

1171


Differentiate between Join, Merge and Lookup stage?

1094


What are the types of jobs we have in datastage?

1075