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

HOW U CAN ABORT THE JOB IF THE DATA IS DUPLICATE?

Answer Posted / subhash

SRC--->SORT--->TFM--->TGT

In the Sort Stage, mention the Sort Keys and Set
CreateKeyChangeColumn to TRUE. for each 1st of Key column,
value of the KeyChange column is '1' and for the duplicate
columns, value is '0'.
In the TFM Constraints, give constraint as 'KeyChange=0' and
set '1' for 'Abort After Rows' then the job will abort for 1st
duplicate record.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main differences you have observed between 7.x and 8.x version of datastage?

1025


How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

2386


What is a datastage job?

965


What is developer responsibilities in UAT (user acceptance testing and Post implementation phase?

2045


Hi , Can anyone give few examples of scenarios and there corresponding design in datastage..i am new to this tool...confused in design while my manager asking to design the job.. Please post the URL if there..so i can go through it.. Thanks in advance...

4140


Triggers,VIEW,Procedures

1177


Is it possible to query a hash file?

1953


What is the purpose of pivot stage and types of containers in datastage

996


What are the types of containers in datastage?

1143


what is the difference between == and eq in UNIX shell scripting?

1422


How do you generate sequence number in datastage?

1027


State the difference between an operational datastage and a data warehouse?

1057


Define oconv () and iconv () functions in datastage?

1343


What is the different type of jobs in datastage?

902


What is a ds designer?

1024