Strange Warning in 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
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Strange Warning in DB2 EE Stage

Post by Nageshsunkoji »

Hi All,

I am facing the following warning in DB2 EE stage

db2HEW_CHANL_USAGE_SUMMins: The environment variable DB2INSTANCE is currently set to `db2inst1'
and is being changed to `ihewd01' as specified in the server option;
if this instance is a different version of DB2, the program may not succeed.

I am using the $APT_DBINSTANCE_HOME environmental variable to set the Instance value. My Data is loading with out any problem, but i am facing the following warning.

Please, suggest me how to sort out from this warning? ( I suppressed this warning by using Meeage Handler, but i want to know the reason behind this ? )

Thanks & Regards
Nagesh.
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

What is the value of DB2INSTANCE in dsenv?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
kura
Participant
Posts: 21
Joined: Sat Mar 20, 2004 3:43 pm

Re: Strange Warning in DB2 EE Stage

Post by kura »

Usually you get this error when you use EE stage as input and ouput in same job.

If that is case split into two jobs.

[quote="Nageshsunkoji"]Hi All,

I am facing the following warning in DB2 EE stage

db2HEW_CHANL_USAGE_SUMMins: The environment variable DB2INSTANCE is currently set to `db2inst1'
and is being changed to `ihewd01' as specified in the server option;
if this instance is a different version of DB2, the program may not succeed.

I am using the $APT_DBINSTANCE_HOME environmental variable to set the Instance value. My Data is loading with out any problem, but i am facing the following warning.

Please, suggest me how to sort out from this warning? ( I suppressed this warning by using Meeage Handler, but i want to know the reason behind this ? )

Thanks & Regards
Nagesh.[/quote]
bcarlson
Premium Member
Premium Member
Posts: 772
Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota

Post by bcarlson »

We are getting a similar warning now that we are connecting remotely to our databases.

If you have a local database or perhaps a remote database with a local dataless node, then your Unix id alone is sufficient to get you connected to the database. Your DataStage job only uses the default database and server names specified in the project (in the DB2 stages, you specify Use Default Database = true, and Use Default Server = true in the connection properties).

If you are connecting remotely to your database, you need to specify everything explicitly - the remote instance, database name, userid, password, and client instance (where you are calling from).

As I understand it, and as it was explained to me, the warning you are receiving is merely a warning you that your client instance and server instance are different and therefore may be of different DB2 versions. If they are different versions, behaviour may be unpredictable. If they are the same version, you can pretty much ignore the warning.

Hope this helps,

Brad.
Post Reply