DB2 connection in IDT
Hi All,
I'm on BI 4.1 SP03 and trying to create a connection to DB2 V7 using IDT. When i go to the database middleware driver section and did the following.
* Selected DB2 for i v7
* Entered username and password and Alias (database name)
1. What is the Alias in the above step?
2. Do i have to install or do any steps in the server to get the DB2 connection?
3. I'm getting the error message in the screenshot.
Any help is highly appreciated.
Regards,
DTD
HI,
I don't know much about DB2 but as per the IDT tutorial
Alias - For DB2 connections, this is the alias of the database that you have created in the DB2 configuration assistant.
Page number -94
http://help.sap.com/businessobject/product_guides/boexir4/en/xi4_info_design_tool_en.pdf
Similar Messages
-
Unexpected Behavior error while creating a connection in IDT
Hi Everyone,
I have created a connection on top of a database using ODBC.
I could able to see the connection in IDT.
I have mentioned the user name and pw correctly and tried testing the connection and got the error "unexpected behavior"
PFA error.
what could be the reason? any idea?
Thanks.I find this 32-bit vs. 64-bit ODBC somewhat confusing. I know you aren't dealing with Crystal Reports, but this blog post does provide some clarity. It has a link to this Microsoft knowledge base article from which I quote...
A 64-bit version of the Microsoft Windows operating system includes the following versions of the
Microsoft Open Database Connectivity (ODBC) Data Source Administrator tool (Odbcad32.exe):
The 32-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\SysWoW64 folder.
The 64-bit version of the Odbcad32.exe file is located in the %systemdrive%\Windows\System32 folder.
One other warning. In my experience I have found that you cannot run both the 32-bit and 64-bit ODBC admin tools at the same time. If you have one running and try and start the other one it will just bring up the one you already had running.
To make sure I know which instance I am in at any give time I have created a dummy data source that corresponds to the instance; 32-bit or 64-bit.
Let us know how it goes.
Noel -
Error while creating OLAP connection in IDT
Hi friends,
I am facing error while creating OLAP connection in IDT (BO 4.1 sp2)
I am using sql server 2012.In the screen shots you can observe server name and user name of the Sql server
I am creating OLAP connection to connect CUBE
Check the screen shots for the error
Plz help me
Here you can see the server name and user name
While creating OLAP connection I gave these credentials
This is the error I am gettingHi..
To create connection and access the BW data, developer must have the password. and while create connection using Authentication Mode: Single Sign On, need to loin the username has pattern <SID~client/SAP userid>,
User Name: SID~client/SAP userid
Password for the SID,
Authentication as SAP.
Plese find the below link for more info: http://scn.sap.com/community/semantic-layer/blog/2014/06/19/pre-requisite-authorizations-in-sap-bw-side-before-develop-the-universe -
Unable to create relational connection in IDT
Hi,
I am trying to create a Relation Connection in IDT. but i m getting the following error
My System is: SAP BO 4.1 SP1
I was able to connnect when i made the connection through Super User. but i get the error when i make it with my ID.
There is some sort of Authorization Issue.
Please provide specific help.
Much appreciate it.
THanks,you could try to change the connection type to TNS and pick the database name available to you in the Network Alias drop-down list.
Edited by: Alex Nuijten on Sep 5, 2008 10:13 AM -
DB2 Connect installation for more as one application-server...
Greetings,
We've installed SAP 4.6D and migrated to ECC 6.0...
also migrated from ICLI to DB2 Connect.
We've 4 application server's on Win2k3.
What's the perfect, with best performance - installation from DB2 Connect ?
DB2 Connect on every appication server or on central instance server (connect-mode: server client) ?
I'm not found tips or document's on SAP Notes (description installation procedure for <b>more as one</b> SAP application server's).
Regards, MarkusHay Markus,
You have the classic tradeoff here: like Thomas mentioned installing a DB2 connect on every server reduce latency but give you more work on an upgrade or definition change, installing just one DB2 connect is easier and more secure but have an inherent performance leg.
Id recommend installing on all servers with a shared parameter file or write a distribution script to distribute the file to all severs from a central location.
Good luck,
Uri Lifshitz. -
Error on testing connection in IDT
Hello,
I got a BI 4.1 SP03 over SBO. Connection is to MS SQL 12.
got a strange error while trying to create measure inside IDT, after a while that evertyhing was working fine.
Continued the 'investigation' and found out the connection in the BO to the DB fails - while pressing "EDIT" on the connection and pressing "Test" inside the popup - succeed.
Important: This is happening since upgrade from BI 4.0 to 4.1 SP03 3 days ago.
The file attached is the error I get while creating a measure on IDT.
Webi working fine, dashboards working fine. data is coming from DB fine. only IDT and DS runs into error (same error in all actions)
Couldn't find in similar case around - anyone have any idea?
Thank you,
Or.Hi,
I have seen the BI4.1 SP03 IDT test connection failed while the test of the same connection succeed in edit connection in IDT.
It seems that the connection I created, which is an Oracle JDBC connection, in BI4.1 SP03 universe designer is somehow not compatible with IDT test although the JDBC connection works in BI Launchpad and in Webi rich client.
The workaround is to delete this problem JDBC connection IDT does not like, and recreate it in IDT instead of universe designer. After that, this recreated JDBC connection works successfully on both universe designer and IDT connection test.
Hope this helps,
Jin-Chong -
I'm new to ASP and experienced db2 user in C/S applications.
I have developed a dynamiz page with Dreamweaver usin ASP
VBscript and tried to connect db2 satabase. In defining the
connection and preparing the record set everything went well and
with DW I connected to dns, tested the connection and played with
SQL everything fine. But when I tried the same thing using ASP
page, the connection did not work and I got an error message
showing the connection line on the program. The connections string
seemed O.K. and the ASP program seems O.K. but application does not
work and I get error.
I do the same thing to Access tables everything works well,
again with ODBC.
Probably there is an issue with IBM DB2 connection using
ODBC.
Attached the connection code and the line of ASP program
where I get error message
<%
' FileName="Connection_odbc_conn_dsn.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="false"
' Catalog=""
' Schema="DB2ADMIN"
Dim MM_connMedbase_STRING
MM_connMedbase_STRING =
"dsn=MEDBASE;uid=db2admin;pwd=db2admin;"
%>
<%
Dim rsMedbase
Dim rsMedbase_numRows
Set rsMedbase = Server.CreateObject("ADODB.Recordset")
rsMedbase.ActiveConnection = MM_connMedbase_STRING ******here
I get error*******
rsMedbase.Source = "SELECT * FROM DB2ADMIN.RAND0102 ORDER BY
RAND_TIME ASC"
rsMedbase.CursorType = 0
rsMedbase.CursorLocation = 2
rsMedbase.LockType = 1
rsMedbase.Open()
rsMedbase_numRows = 0
%>
appreciate any help, thx in advanceOne thing I like about MSSQL databases is that you can manage them using Access itself. This is done by creating an Access project file with an ADP extension. It presentsna dialog for the server connection which uses the same information as the connection string. Once connected, you can manage the database the same way as you would a regular Access database in almost every aspect. You can import and export, create tables and Queries, etc. One noticeable difference is that you're presented a lot more options for datatypes for your table fields. One downside is that the web Hist must allow remote connections which some do not for security reasons. Another is that I don't know how applicable this would be in a ASP.net environment, but that's not supported by DW and even classic ASP is fading fast. Beyond MS-based solutions is PHP with MySQL, a different animal in many respects but conceptually similar to the overall principles of dynamic websites. I still manage a small number of ASP sites, and a couple years ago decided I was overdue in choosing which technology I needed to learn. I went the PHP route because I still wanted to use DW and many Web Assist extension which many now only support PHP. (not to say I won't ever delve into dot net, but I need to be able to hand code PHP at least to the extent that I can with VBscript)
-
Db2-connect error - dboraslib.dll - specified module could not be found
While I am trying to START SAP server, its giving the db2-connect error . showing the following error, can anybody throw some light.
Thanks
trc file: "dev_w1", trc level: 1, release: "620"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Sat Sep 30 19:06:25 2006
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\DWK\SYS\exe\run\dboraslib.dll' ...
M
M Sat Sep 30 19:06:45 2006
M *** ERROR => DlLoadLib: LoadLibrary(D:\usr\sap\DWK\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c 226]
M Error 126 Error 126 = "The specified module could not be found."
B *** ERROR => Couldn't load library 'D:\usr\sap\DWK\SYS\exe\run\dboraslib.dll'
[dbcon.c 3789]
M systemid 560 (PC with Windows NT)
M relno 6200
M patchlevel 0
M patchno 251
M intno 20020600
M pid 1580
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 1 1580) [dpxxdisp.c 1016]
I MtxInit: -2 0 0
X
X Sat Sep 30 19:06:46 2006
X EmInit: MmSetImplementation( 2 ).
X <ES> client 1 initializing ....
X Using implementation std
M <EsNT> Memory Reset enabled as NT default
X ES initialized.
M
M Sat Sep 30 19:06:48 2006
M calling db_connect ...
B create_con (con_name=R/3)
B Loading DB library 'D:\usr\sap\DWK\SYS\exe\run\dboraslib.dll' ...
M *** ERROR => DlLoadLib: LoadLibrary(D:\usr\sap\DWK\SYS\exe\run\dboraslib.dll) Error 126 [dlnt.c 226]
M Error 126 = "The specified module could not be found."
B *** ERROR => Couldn't load library 'D:\usr\sap\DWK\SYS\exe\run\dboraslib.dll'
[dbcon.c 3789]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 008192) [thxxhead.c 1098]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 8277]
M
M Info for wp 1
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M tid = -1
M mode = 255
M len = -1
M rq_id = -1
M rq_source = 255
M last_tid = 0
M last_mode = 0
M rfc_req = 0
M report = > <
M action = 0
M tab_name = > <
M
M *****************************************************************************
M *
M * LOCATION SAP-Server star47e_DWK_00 on host star47e (wp 1)
M * ERROR tskh_init: db_connect
M *
M * TIME Sat Sep 30 19:06:48 2006
M * RELEASE 620
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 8408
M * COUNTER 1
M *
M *****************************************************************************
M
M
M Sat Sep 30 19:06:49 2006
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 672]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 235]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
B dbtbxbuf: Buffer TBX_SINGLE not available
M ***LOG Q02=> wp_halt, WPStop (Workproc 1 1580) [dpnttool.c 345]thanks cyrus.
I just updated the kernel and it got me passed the error but now it stops somewhere else.
Previous error OK:
B Library 'C:\usr\sap\DRS\SYS\exe\run\dboraslib.dll' loaded
B Version of 'C:\usr\sap\DRS\SYS\exe\run\dboraslib.dll' is "640.00", patchlevel (0.79)
B New connection 0 created
M sysno 00
M sid DRS
M systemid 560 (PC with Windows NT)
M relno 6400
M patchlevel 0
M patchno 87
M intno 20020600
M make: multithreaded, ASCII
M pid 3360
New error:
X ES initialized.
M
M Mon Oct 23 16:42:37 2006
M calling db_connect ...
C Prepending C:\oracle\ora81 to Path.
C got NLS_LANG='AMERICAN_AMERICA.WE8DEC' from environment
C *** ERROR => Couldn't initialize Oracle client library,
please check your installation!
[dbsloci.c 1935]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1273]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 9530]
M
This look familiar?
Thanks again. -
Hi friends :
I am writing a DB2 Connection pooling class.In oracle we set the mininmum connections like
ocacheimpl = new OracleConnectionCacheImpl(DataSource );
ocacheimpl.setMinLimit(minConnections)
ocacheimpl.setMaxLimit()
Like this is there any methods to set the min connections in the DB2.
Please help me in this.
Thanks
MandavaHi,
i´ve got the same problem as Stephen.
can anybody check my start-script, in my eyes it seems
to be correct concerning the paths.
thanks for urgent help
Andreas Koch
NetFidelity Consulting GmbH
[email protected]
Stephen Davies <[email protected]> wrote:
Scott,
is SQLLIB\bin on the path?
Joseph Weinstein wrote:
Hi. For 5.1, you need to edit your startWebLogic script,
and add the DB2 driver classes to the weblogic.classpath.
Also any native libraries needed for this driver should be
available to the WLS process.
Can you run a simple DB2 JDBC example program (no WebLogic code)
in this environment?
Joe
scott rogan wrote:
i'm having difficulty setting up a DB2 connection pool in WL 5.1.
Getting this error on server startup: <E> <JDBC Pool> Failed to create
connection pool "db2Pool"weblogic.common.ResourceException: Could not
load 'COM.ibm.db2.jdbc.app.DB2Driver' because System.loadLibrary threw
java.lang.UnsatisfiedLinkError with the message '[IBM][JDBC Driver]
CLI0647E Error allocating DB2 environment handle, rc=db2jdbc.'.any
ideas?thanks
Stephen Davies
Davies Consulting Pty. Ltd.
Sydney, Australia
Ph. +61 2 9527 4274
[startWebLogic.sh] -
SQL0904N and SQL30081N while using DB2-Connect driver
Scenario:
Application program : Java on Unix
Database : DB2 on Mainframe
Database driver : IBM's DB2 connect
Usage : A number of connections are taken by the program and are used as long as the program is alive
(Life time of the program is variable. It can be as long as many days -- in a sense the program acts like a daemon process that runs as long it is not stopped).
Scenario:
-To one of the table using a load utility, such as BMC, data is loaded
-Database goes to copy-pending status
-Database is started by using the following command : "START DATABASE(database name) SPACENAM(table space name) ACCESS(FORCE)"
Doubts:
1. What happens to the connections that the program has opened to the database?
2. Does the database relinquish all the resources (like the sockets it would have opened for the communication with the driver) held by it during restarting?
(at least before restarting, it is evident that no query on the table in question is possible. A typical SQL0904N, which is non-availability of resources, is thrown)
3. Can the above scenario cause a SQL30081N, which is resetting of connection by peer i.e. database in this case?Yes, there is a high probability for such things, you may want to consider using a connection pool instead of opening 2 connections once at the start of the program and using them all for days.
Have a look at the following link to get an idea on how to implement a simple connection pool.
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html -
Upgrading db2 connect thin client from v9.1 to v9.5
I'm looking for instructions on how to upgrade the db2 connect thin client CLI and JDBC drivers from v9.1 to v9.5 (latest fixpack). I found note 867976 describing how to update the JDBC portion. I'm wondering if there is an official way of upgrading the CLI client, now that this is normally automatically installed as part of the SAPINST process. We want to upgrade our system from v9.1 thin client ot v9.5 thin client to use the new functionality.
(We have instructions for upgrading from v9 Fat client to v9.5 thin client.)1.Copied new driver version into db2_clidriver and jdbc folders.
2. Ran db2radm to bind new collection
3. Used sappad to change connect.ini file back to Unix format.
4. Restarted Cluster.
New version working now. -
DB2 Connect Server appear after Migrating DB2 from v8.2 to v9.5
I migrated the database software of SAP ECC 5.0 System from DB2 v8 fixpak 17 to DB2 v9.5 fix pack 4. After I installed the SAP DB2 licenses, I noticed that a new product "DB2 Connect Server" remained in 'Trail' status.
Product name: "DB2 Connect Server"
License type: "Trial"
Expiry date: "01/02/2010"
Product identifier: "db2consv"
Version information: "9.5"
I did not select this product during the installation of Enterprise Server Edition.
Do I need to remove the product "DB2 Connect Server"?
Is there any problem with let the product "DB2 Connect Server" expired?
Will the following command remove the product?
db2licm -r db2consv
Thanks in advance!Dear Sameer,
DB2 Connect Server is independent component whose purpose is to connect applications to data.
DB2 Connect provides connectivity to mainframe and midrange databases from Linux, UNIX, and Windows based platforms. You can connect to DB2® databases on OS/390 and z/OS, iSeries, VSE, and VM. You can also connect to non-IBM databases that comply with the Distributed Relational Database Architectureu2122 (DRDA®).
If you are not having any scenarios (in you system landscape) to use DB2 server/client Connectivity to mainframe/mid-range databases, then you can remove that product by executing db2licm -r db2consv
If your DB2 connect Server license is already expired, and you are not able to remove it, then following workaround will be helpful.
Workaround may be:
1. db2stop
2. Adjust your system clock at some point in past when this license was still trial.
3. db2licm -r db2consv
You can get some useful information about DB2 connect role in SAP landscape in this document[ Streamlining DB2 Connect for SAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/207c5c32-51ea-2a10-c7bc-bcfca74552d5&overridelayout=true].
Regards,
Bhavik G. Shroff -
Need to find out a way to figure out how DB2 connect to Oracle and data mirroring etc.
Hi, Gurus,
I just take over a project which source is ICOMS as400 db2 database. Seems data mirro CDC is used to replicate from DB2 to oracle.
I am very new to this datamirror CDC , plus I am new to figure out how db2 connect to oracle, is that through db link or what? or is there tnsnames entry?
I would like anybody in this forum can point me to the right direction.
Thanks in advance.user9233598, if mirroring/replication from DB2 to Oracle already exists then question is what product is being used? If the product has already been purchased then I do not think it is very likely that management is going to want to purchase another product so I do not see how extra-cost Golden Gate or other Oracle Gateway features apply if those are not currently in use. If Golden Gate or the Oracle Transparent Gateway are in use then you already have your answer
Oracle supports ODBC/JODBC and the replication application on the AS400 likely uses these features or a thick Oracle client as the interface to Oracle.
HTH -- Mark D Powell -- -
Hi All,
when executing an application and attempting to connect to DB2 I get;
error java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver
I've added the 'db2java.zip' library to the java.conf file (and the native db2 libs) and can make db2 connections using the database connect via the IDE. But not when executing my application - what am I missing.
TIA
BillHi Deepak,
I added the db2java.zip to the
project properties/libraries/classpath
and it works fine. (well my code fails - but that's another problem <g>.)
Thanks for all your help.
Bill -
DB2 Connection/Command hangs
Hello there,
I changed teh LOCKTIMEOUT parameter
db2 deactivate db DEV
db2 "update db cfg for DEV using LOCKTIMEOUT -1"
db2 activate db DEV
As soon as issued 3rd command: db2 activate db DEV
This command start hanging, and after waiting long time i tried to kill the db2 processing using db2_kill and re-start the database via dbstart, then i try to connect to the database: db2 connect to DEV...and it hangs
Any db2 command I issue it jsut hangs.
I tried R3trans -x, this one also hangs.
I just realized that I do not need to deactivate database to changed the DB parameters.
Please help me to troubleshoot this issue.
Thanks
Kumar
Edited by: Kumar Subramaniam on Jun 27, 2010 1:20 AMHello Kumar,
If you run a db2 get applications snapshot show details
this also hangs?
please logon as db2<db2sid> to Database Server and issue
1. db2 get snapshot for applications on <DBSID>
2. db2 get snapshot for db on <DBSID>
3. db2pd -everything
If one of these works it will help track down exactly what the db was doing when it hanged.
Regards,
Paul
Maybe you are looking for
-
Error importing CD (required folder cannot be found)
iTunes 10.6, running on a Mac Mini with OSX 10.6.8 Hi all, A bit of backstory. Been using iTunes to manage my music collection for over 8 years. At one point, I moved my music off of a primary disk to an external disk, although perhaps oddly set up,
-
In Lightroom 3 I am in Library mode in the Grid View and need to rearrange images, but it is not allowing me to move them.
-
ESS: Who's Who Authorization Checks
Hi, I am testing the ESS iView (tcode PZ01) in the Portal and it seems to be restricting the search results by my authorizations. I am not getting a full list of people in the system. Anyone know how to turn-off this authorization check? I noticed
-
I've got a docu to shoot. I'm using the Sony EX3. I'm trying to plan how many HD's I'll need to take with my on the trip. I've misplaced my converter app. What would I be looking at - shooting at full XDCAM HD422 1080p 24fps – in terms of gigawattage
-
How fast/powerful are the brand new 8 core Mpros 3 GHZ
can you compare them to the QUAD 2.5? any one who has one could you give me some opinions is it worth the buy or will waiting prove more satisfactory