Page 1 of 1

Surrogate Key Stage Error

Posted: Fri Mar 01, 2013 2:51 am
by cfuller
I have a job that has run successfully on my dev and uat servers, but is failing in Production. The error seems to be in the Surrogate key stage -
SK_Employer,0: Caught exception from runLocally(): APT_ParseError: Expected "," or "}", got: "*", line 1.
The stage is designed to get a sequence from an Oracle 11g database sequence, and the inputdata to the stage is partioned using the Hash algorithim, and is sortedusing unique on two keys.

Any assistance greatly appreciated.

Posted: Fri Mar 01, 2013 3:32 am
by BI-RMA
Is the database sequence present on your production database? And has your Oracle-user sufficient privileges to access it? Somehow it looks like something goes wrong when parsing the SQL-statement used to retrieve the next value from the sequence.

Posted: Fri Mar 01, 2013 3:37 am
by cfuller
Hi Roland

Yes the sequence is present, and I have access to sequence to generate the next value...confirmed through Toad

Posted: Sun Mar 03, 2013 12:27 am
by cfuller
I've worked around this problem for now by removing the Surrogate key stage and using the .NEXTVAL function to build the key...but i will chase this issue with IBM for a resolution.

Posted: Sun Mar 03, 2013 4:27 pm
by cfuller
The issue is that certain stages have issues with password containing '*'. The resolution is to ensure all password fields wrap the password in double-quotes to ensure the full password is passed back to the database system.

Traps for young players... :o

Posted: Mon Mar 04, 2013 7:41 am
by BI-RMA
So there was an authentication problem after all... A bit difficult to track down, though. Thanks for sharing.