Surrogate Key Stage 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
StephenB
Premium Member
Premium Member
Posts: 8
Joined: Mon Oct 29, 2007 6:27 pm
Location: Richmond, VA

Surrogate Key Stage Error

Post by StephenB »

When using the Surrogate Key Generator Stage, the following errors are being generated:

Surrogate_Key_Generator_33,1: Error Idx = 1; DB2Driver Embedded SQL message: SQL0552N "ETLUSER" does not have the privilege to perform operation "IMPLICIT CREATE SCHEMA". SQLSTATE=42502; sqlcode = -552; sqlstate = 42502

and

Surrogate_Key_Generator_33,1: Program not bound to database
Attempting to bind /opt/app/IBM/InformationServer/Server/DSComponents/bin/db2esql80.bnd to the database ETLDB ....failed

I'm trying to use the same connection parameters used for DB2 UDB stages (DB2 EE stages are not an option for us). Do you need a DB2 EE connection for the Surrogate Key Generator Stage, or am I just missing something with the properties?
- Stephen -
manishk
Participant
Posts: 32
Joined: Tue Oct 25, 2005 8:45 pm

Re: Surrogate Key Stage Error

Post by manishk »

Seems Either Key column name( ie is the one you are generating using the Surrogate Key Generator) is not there in the Target table.
Thanks
Manish
manishk
Participant
Posts: 32
Joined: Tue Oct 25, 2005 8:45 pm

Re: Surrogate Key Stage Error

Post by manishk »

Seems Either Key column name( ie is the one you are generating using the Surrogate Key Generator) is not there in the Target table.
Thanks
Manish
StephenB
Premium Member
Premium Member
Posts: 8
Joined: Mon Oct 29, 2007 6:27 pm
Location: Richmond, VA

Post by StephenB »

It turns out this error was truly what it said, database permissions. ETLUSER was in a group which did not have 'Indirect Implicit Schema' authority. The error does seem misleading though as the Surrogate Key Generator does not need to 'CREATE SCHEMA.'

Anyways, you can use the Surrogate Key Generator Stage without DB2 Enterprise connectivity.
- Stephen -
Post Reply