Surrogate Key Generator - Database Sequence (Oracle) Error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
datastagenewbie
Participant
Posts: 64
Joined: Tue Sep 23, 2008 9:54 am

Surrogate Key Generator - Database Sequence (Oracle) Error

Post by datastagenewbie »

Hi I am getting this following error when I use the Surrogate Key Generator , Database option using Oracle DB sequence. I used Decimal, Number, Integer, BigInt datatypes, but nothing helped.
APT_CombinedOperatorController,0: Sequence <<SequenceName>> returned invalid next value: 1387369372.

Please advise.

Thanks!
Last edited by datastagenewbie on Tue Nov 19, 2013 10:17 pm, edited 1 time in total.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So... not a Server job then. Off you go to the PX forum.
-craig

"You can never have too many knives" -- Logan Nine Fingers
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

Per the documentation: Generated keys are unsigned 64-bit integers. That should support numbers up to 18,446,744,073,709,551,615. So the error message is a bit puzzling.

Just to verify - can you put in $APT_DISABLE_COMBINATION (set to True) in your job and re-run? That should define the error message down to a specific component.

Have you verified that the problem isn't the key definition in the Oracle database that's generating it?
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
datastagenewbie
Participant
Posts: 64
Joined: Tue Sep 23, 2008 9:54 am

Post by datastagenewbie »

I tried $APT_DISABLE_COMBINATION (set to True) in the job and re-ran . It gave the same error.

The Oracle sequence is working fine in the database.
Post Reply