Duplicate Surrogate Key
Posted: Mon May 09, 2016 2:35 am
Hi,
I'm not sure if this is a DataStage issue or a Database issue. I have a transformer that has 3 output links. Each output link uses the NextSurrogateKey() to generate a sequence key from an Oracle DB Sequence object. The upstream and downstream all execute in parallel.
I get erratic PK violation errors due to duplicate PK values. What could the reason be?
I'm not sure if this is a DataStage issue or a Database issue. I have a transformer that has 3 output links. Each output link uses the NextSurrogateKey() to generate a sequence key from an Oracle DB Sequence object. The upstream and downstream all execute in parallel.
I get erratic PK violation errors due to duplicate PK values. What could the reason be?