ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ODBC alias - Database with DB2 under AIX

Post new topic  Reply to topic
 ODBC alias - Database with DB2 under AIX « View previous topic :: View next topic » 
Author Message
warrenpage
PostPosted: Mon Sep 30, 2002 2:58 pm    Post subject: ODBC alias - Database with DB2 under AIX Reply with quote

Acolyte

Joined: 19 Feb 2002
Posts: 56
Location: Australia

Hi All,

Does anyone know if it is possible to use an ODBC name that is different from the DB2 database name under AIX.

This works for us with ODBC under Windows, but under AIX it seems that the database name must equal the ODBC name.

e.g.
[ODBC Data Sources]
HIPADS=IBM DB2 ODBC Driver

[HIPADS]
Driver=/u01/db2data/db2mqsi/sqllib/lib/db2_36.o
Description=HIPAD001 DB2 ODBC Database
Database=HIPAD002
database=HIPAD002
alias=HIPAD002
Alias=HIPAD002


*** I added the database/Alias/alias entries just to see if it would pick up a different name - it fails when they aren't there too.***

When Accessing the HIPADS datasource under WMQI (which we want to access the HIPAD002 database) we get the following error

Sep 30 18:42:39 durand WMQIv210[42150]: (TAKPC04.default)[2571]BIP2628E: Exception condition detected on input node 'AIS120_MF_AIS.Q
UEUE FROM DI'. : TAKPC04.0977199c-f000-0000-0080-cd78d62f25b3: /build/S210_P/src/DataFlowEngine/ImbMqInputNode.cpp: 1248: ImbMqInput
Node::readQueue: ComIbmMQInputNode: 3d7a7790-ef00-0000-0080-86ee1f23cdc8
Sep 30 18:42:39 durand WMQIv210[42150]: (TAKPC04.default)[2571]BIP2230E: Error detected whilst processing a message in node 'AIS120_
MF_AIS.AIS120_SF_MainFlow1.AIS120_SF_TDD_SCOOP1.TDD Identify Message'. : TAKPC04.0977199c-f000-0000-0080-cd78d62f25b3: /build/S210_P
/src/DataFlowEngine/ImbComputeNode.cpp: 390: ImbComputeNode::evaluate: ComIbmComputeNode: baa67188-ef00-0000-0080-86ee1f23cdc8.33ccf
69b-ef00-0000-0080-86ee1f23cdc8.551a0292-ef00-0000-0080-86ee1f23cdc8
Sep 30 18:42:39 durand WMQIv210[42150]: (TAKPC04.default)[2571]BIP2321E: Database error: ODBC return code '-1'. : TAKPC04.0977199c-f
000-0000-0080-cd78d62f25b3: /build/S210_P/src/DataFlowEngine/ImbOdbc.cpp: 143: ImbOdbcHandle::checkRcInner: :
Sep 30 18:42:39 durand WMQIv210[42150]: (TAKPC04.default)[2571]BIP2322E: Database error: SQL State '08001'; Native Error Code '-1013
'; Error Text '[IBM][CLI Driver] SQL1013N The database alias name or database name "HIPADS" could not be found. SQLSTATE=42705: TA
KPC04.0977199c-f000-0000-0080-cd78d62f25b3: /build/S210_P/src/DataFlowEngine/ImbOdbc.cpp: 234: ImbOdbcHandle::checkRcInner: :


We want to do this because we have multiple brokers on a single box and want to access different databases with each broker, but use the same flows with the same datasource name.

If anyone has another way to do this let me know too.

Warren
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ODBC alias - Database with DB2 under AIX
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.