DB2 EE stage

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
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

DB2 EE stage

Post by Kirtikumar »

Hi,
I am getting following error while using DB2 EE stage.
>##E TNDB 000312 10:35:38(001) <DB2_UDB_Enterprise_3> Error Idx = 1;
>DB2 Driver Embedded SQL: -552;
>sqlcode = 42502;
>sqlstate = SQL0552N "GRAYT" does not have the privilege to perform operation "IMPLICIT
>CREATE SCHEMA". SQLSTATE=42502
>
>##E TNDB 000000 10:35:38(002) <DB2_UDB_Enterprise_3> Program not bound to database
>Attempting to bind to the database /DataStageApp/Ascential/DataStage/PXEngine/bin/db2esql.bnd ....failed
>
I have specified the instance, database name and user/pass details properly. The same details work in DS API stage. Instance name and other details are taken from DB2's command like get instance and all.

Has any one faced this kind of error?
Regards,
S. Kirtikumar.
elavenil
Premium Member
Premium Member
Posts: 467
Joined: Thu Jan 31, 2002 10:20 pm
Location: Singapore

Post by elavenil »

Are you using DB2 Partitioned database?

I think DB2 EE can be used if you have DB2 partitioned database.

Regards
Saravanan
Kirtikumar
Participant
Posts: 437
Joined: Fri Oct 15, 2004 6:13 am
Location: Pune, India

Post by Kirtikumar »

We are using DB2 SDK 8.1.5 version of DB2. I am not sure whether this is parallel version or not.

Regards,
Kirtikumar.
Regards,
S. Kirtikumar.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Did you extract "GRAYT" does not have the privilege to perform operation "IMPLICIT CREATE SCHEMA" from the first error? Check with your DBA.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
piyu
Participant
Posts: 52
Joined: Thu Jul 21, 2005 12:22 am
Location: Singapore

Post by piyu »

Did anyone find a solution to this problem? :(
MT
Premium Member
Premium Member
Posts: 198
Joined: Fri Mar 09, 2007 3:51 am

Post by MT »

Hi,

Ray already pointed to the root cause:
ray.wurlod wrote:Did you extract "GRAYT" does not have the privilege to perform operation "IMPLICIT CREATE SCHEMA" from the first error? Check with your DBA.
It seems you are trying to create a table in your stage in a new schema.
To do so - meaning to be able to create a new schema in the database by just creating a table and without a create schema command before you need special rights in DB2: the IMPLICIT_SCHEMA right.

Get it or work with other schemas.

kind regards
Michael
piyu
Participant
Posts: 52
Joined: Thu Jul 21, 2005 12:22 am
Location: Singapore

Post by piyu »

Actually I'm getting this error on doing a select. Not trying to create a schema. Perhaps there is some privilege issues for the id on the instance/server parameters ie db2 instance (server) and client instance. :?
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Could your SELECT statement DML be triggering this implicit creation? According to the Connectivity Guide to IBM DB2 Databases, you need
Listed below are the required IBM DB2 privileges:
SELECT privilege on any tables from which to read data.
INSERT privilege on any existing tables to be updated.
TABLE CREATE privilege to create any new tables.
INSERT and TABLE CREATE privileges on any existing tables to be replaced.
DBADM privilege on any database written by using the LOAD method.
piyu
Participant
Posts: 52
Joined: Thu Jul 21, 2005 12:22 am
Location: Singapore

Post by piyu »

I have the required SELECT privilege. I can execute same query using API stage but I need to do a sparse lookup. DB2 Enterprise stage has not been in use in this installation as they have been using server edition and have recently migrated to 8.1 parallel edition, where again they were using API stage. :roll: :!:
vivekgadwal
Premium Member
Premium Member
Posts: 457
Joined: Tue Sep 25, 2007 4:05 pm

Post by vivekgadwal »

piyu wrote:Did anyone find a solution to this problem? :(
Did you at least try searching about Implicit Create Schema online? A simple search yielded me this from the IBM website:
IBM wrote:Implicit schema authority (IMPLICIT_SCHEMA) considerations

When a new database is created, PUBLIC is given IMPLICIT_SCHEMA database authority. With this authority, any user can create a schema by creating an object and specifying a schema name that does not already exist.
Pay heed to the last sentence. Are you giving a schema name that is invalid on that database?
Vivek Gadwal

Experience is what you get when you didn't get what you wanted
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post by mhester »

>##E TNDB 000000 10:35:38(002) <DB2_UDB_Enterprise_3> Program not bound to database
>Attempting to bind to the database /DataStageApp/Ascential/DataStage/PXEngine/bin/db2esql.bnd ....failed
Just have your DBA's rebind the package in the DB and you will be good to go. This usually happens after a DB upgrade.

Nothing at all to do with partitioned tables etc..., but it is related to the EE stage.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Wow... Michael Hester... long time no see. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post by mhester »

Wow... Michael Hester... long time no see.
Every now and again I might be able to answer something :D
Post Reply