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

Why do we use exception activity in Datastage?

1321


what is stage is used for below Input columns: dept|mgr|employee|salary Output columns: mgr|count of employee per mgr|avg salary per dept note: each dept has one mgr and each mgr has many employees

1088


Differentiate between operational datastage (ods) and data warehouse?

1183


tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise

3126


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

2376


how to implement scd2 in datastage 7.5 with lookup stage

5609


What is apt_config in datastage?

1142


Describe stream connector?

1312


What is the precedence of stage variables,derivations, and constraints?

1086


what are the devoleper roles in real time? plz tell i am new to datastage....

2164


What is process model?

1986


Define Job control?

1153


Does datastage support slowly changing dimensions ?

1110


To see hidden files in LINIX?

1531


Define meta stage?

1207