473,395 Members | 1,679 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

DB2 per ODBC ansprechen

Hallo,

ich habe noch nicht viel Erfahrung mit der DB2.
Ich versuche jetzt von einem Client Rechner auf die DB2 auf dem Server
zuzugreifen.
Dazu habe ich mir den Run Time Client Lite geholt und den ODBC Treiber
installiert,
leider habe ich keine Ahnung wie ich den einrichte.
Kann mir da einer helfen, oder mir einen Link geben wo ich es genau
nachlesen kann?

Danke
Newie

Sep 13 '06 #1
7 2072
Newie wrote:
Hallo,

ich habe noch nicht viel Erfahrung mit der DB2.
Ich versuche jetzt von einem Client Rechner auf die DB2 auf dem Server
zuzugreifen.
Dazu habe ich mir den Run Time Client Lite geholt und den ODBC Treiber
installiert,
leider habe ich keine Ahnung wie ich den einrichte.
Kann mir da einer helfen, oder mir einen Link geben wo ich es genau
nachlesen kann?
Have you checked the CLI chapters in the DB2 Information Center.
Note that CLI~ODBC.

Cheers
Serge

<winkmitdemzaunpfahl>Wenn Du in Englisch fragst wird's wohl mehr
Antworten geben</winkmitdemzaunpfahl>
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 13 '06 #2
Hi,

ok demnächst werde ich es in Englisch versuchen.....
Danke für die Antwort

Were can I find the DB2 Information Center???
Serge Rielau schrieb:
Newie wrote:
Hallo,

ich habe noch nicht viel Erfahrung mit der DB2.
Ich versuche jetzt von einem Client Rechner auf die DB2 auf dem Server
zuzugreifen.
Dazu habe ich mir den Run Time Client Lite geholt und den ODBC Treiber
installiert,
leider habe ich keine Ahnung wie ich den einrichte.
Kann mir da einer helfen, oder mir einen Link geben wo ich es genau
nachlesen kann?
Have you checked the CLI chapters in the DB2 Information Center.
Note that CLI~ODBC.

Cheers
Serge

<winkmitdemzaunpfahl>Wenn Du in Englisch fragst wird's wohl mehr
Antworten geben</winkmitdemzaunpfahl>
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 13 '06 #3
Newie wrote:
Hi,

ok demnächst werde ich es in Englisch versuchen.....
Danke für die Antwort

Were can I find the DB2 Information Center???
www.google.com search: DB2 Information Center.
First hit :-)
http://publib.boulder.ibm.com/infoce.../v9//index.jsp
(replace v9 with v8 if needed)

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 13 '06 #4
Hi,

thanks for the link.
Now I have starting reading the chapter, but I have already the next
question
Were can I find the name of my node "knotenname "???
I have no idea what the name is.

Newie

Serge Rielau schrieb:
Newie wrote:
Hi,

ok demnächst werde ich es in Englisch versuchen.....
Danke für die Antwort

Were can I find the DB2 Information Center???
www.google.com search: DB2 Information Center.
First hit :-)
http://publib.boulder.ibm.com/infoce.../v9//index.jsp
(replace v9 with v8 if needed)

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 13 '06 #5
I think I found the node name but I have a next question

Trying to connect the database I get this error

"SQL30081N.........
...........Protokollspezifische(r) Fehlercode(s): "10061","*", "*".
SQLSTATE=08001"

Does anyone knows this error???

Thank you

Newie schrieb:
Hi,

thanks for the link.
Now I have starting reading the chapter, but I have already the next
question
Were can I find the name of my node "knotenname "???
I have no idea what the name is.

Newie

Serge Rielau schrieb:
Newie wrote:
Hi,
>
ok demnächst werde ich es in Englisch versuchen.....
Danke für die Antwort
>
Were can I find the DB2 Information Center???
www.google.com search: DB2 Information Center.
First hit :-)
http://publib.boulder.ibm.com/infoce.../v9//index.jsp
(replace v9 with v8 if needed)

Cheers
Serge

--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 13 '06 #6
Newie wrote:
I think I found the node name but I have a next question

Trying to connect the database I get this error

"SQL30081N.........
..........Protokollspezifische(r) Fehlercode(s): "10061","*", "*".
SQLSTATE=08001"

Does anyone knows this error???
I would first try this on the server:
db2set DB2COMM = TCPIP

db2
? SQL30081
<snip>
o If <protocol= TCP/IP, <function= connect, <rc1=
ECONNREFUSED/WSAECONNREFUSED, AIX (79), Windows (10061),
linux (111),

SUN (146), HP (239), the attempt to connect was
rejected. Possible causes:

- The remote database server has not been cataloged correctly
at the client. In a client-gateway-server scenario,
ensure the host entries are cataloged correctly on the
gateway. See the Quick Beginnings guide for
assistance.

- The database manager configuration file at the server has not
been configured properly with the proper communication
parameters. Check that svcename has been configured
properly with the TCP/IP service name or port number and
that the port number is unique. If database manager
configuration parameters have been updated at the server,
the database manager must be stopped and re-started for
the changes to take effect. There might be a mismatch
between the TCP/IP service name or port number specified
on the server and on the client. Ensure the service name
maps to the correct port number by checking the services
file. You can check this by reading the services file or
checking the output of "netstat -a".

- The DB2COMM environment variable at the server does not
specify the communication protocol used by the client.
Check that TCPIP has been specified. Issue db2set to see
what has already been set. Issue db2set DB2COMM = TCPIP
to set the value.

- The database manager at the server has not been started, or
has not been started successfully, or has gone down. The
server should have returned SQL1063, and not SQL5043. If
you set the database manager configuration parameter,
diaglevel, to 4 using, db2 update dbm cfg using diaglevel
4, prior to issuing db2start, the administration
notification log will provide detailed information on
which protocols were started successfully. Check the
administration notification log.

- The server might be too busy to handle the volume of incoming
connections at this time.

- Network failure, contact your network administrator. You can
try a test using the protocol tester, pctt, to verify
this is not a DB2 problem.
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 13 '06 #7
Hi Serge,

yeah it works!!!!
I have the run time client lite unistalled and new installed, this time
the full installation and not only the odbc driver, after that it
works.
I have a connection to my database.

Thank you for your answers.

mfg
Newie

Serge Rielau schrieb:
Newie wrote:
I think I found the node name but I have a next question

Trying to connect the database I get this error

"SQL30081N.........
..........Protokollspezifische(r) Fehlercode(s): "10061","*", "*".
SQLSTATE=08001"

Does anyone knows this error???
I would first try this on the server:
db2set DB2COMM = TCPIP

db2
? SQL30081
<snip>
o If <protocol= TCP/IP, <function= connect, <rc1=
ECONNREFUSED/WSAECONNREFUSED, AIX (79), Windows (10061),
linux (111),

SUN (146), HP (239), the attempt to connect was
rejected. Possible causes:

- The remote database server has not been cataloged correctly
at the client. In a client-gateway-server scenario,
ensure the host entries are cataloged correctly on the
gateway. See the Quick Beginnings guide for
assistance.

- The database manager configuration file at the server has not
been configured properly with the proper communication
parameters. Check that svcename has been configured
properly with the TCP/IP service name or port number and
that the port number is unique. If database manager
configuration parameters have been updated at the server,
the database manager must be stopped and re-started for
the changes to take effect. There might be a mismatch
between the TCP/IP service name or port number specified
on the server and on the client. Ensure the service name
maps to the correct port number by checking the services
file. You can check this by reading the services file or
checking the output of "netstat -a".

- The DB2COMM environment variable at the server does not
specify the communication protocol used by the client.
Check that TCPIP has been specified. Issue db2set to see
what has already been set. Issue db2set DB2COMM = TCPIP
to set the value.

- The database manager at the server has not been started, or
has not been started successfully, or has gone down. The
server should have returned SQL1063, and not SQL5043. If
you set the database manager configuration parameter,
diaglevel, to 4 using, db2 update dbm cfg using diaglevel
4, prior to issuing db2start, the administration
notification log will provide detailed information on
which protocols were started successfully. Check the
administration notification log.

- The server might be too busy to handle the volume of incoming
connections at this time.

- Network failure, contact your network administrator. You can
try a test using the protocol tester, pctt, to verify
this is not a DB2 problem.
--
Serge Rielau
DB2 Solutions Development
IBM Toronto Lab

IOD Conference
http://www.ibm.com/software/data/ond...ness/conf2006/
Sep 15 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Marco Aschwanden | last post by:
Hi - Win2000 - Python 2.3.3 - py2exe 0.5.0 - eGenix Comercial & Base Package I am developing an app using mxODBC. On the home page they say ...
11
by: Wolfgang Kaml | last post by:
Hello All, I have been working on this for almost a week now and I haven't anything up my sleeves anymore that I could test in addition or change.... Since I am not sure, if this is a Windows...
0
by: Kong Li | last post by:
Follow up to this thread, the latest Oracle 9i release 2 patchset (9.2.0.5) fixed the handle count leak problem. The problem is in Oracle client component. Thanks. Kong ----- From: Kong...
6
by: Andreas Lauffer | last post by:
I changed from Access97 to AccessXP and I have immense performance problems. Details: - Access XP MDB with Jet 4.0 ( no ADP-Project ) - Linked Tables to SQL-Server 2000 over ODBC I used...
4
by: Roger Redford | last post by:
Dear Experts, I'm attempting to marry a system to an Oracle 817 datbase. Oracle is my specialty, the back end mainly, so I don't know much about java or javascript. The system uses javascript...
4
by: Andreas Lauffer | last post by:
Can anyone tell me advantages / disadvantages of DataDirect Server Wire ODBC-driver? Any experiences? What about redistribution? Andreas Lauffer, easySoft. GmbH, Germany
3
by: Lauren Quantrell | last post by:
Maybe a dumb question - I'm new to ODBC. How do I install an Access ..mde file on a user's workstation and create the ODBC connection to the backend SQL Server database without having to go through...
2
by: Crazy Cat | last post by:
Hi all, I am having trouble getting linked Oracle 9 server in MS SQL Server 2005 Express to work properly. My machine is running Windows XP. The Microsoft and Oracle OLE DB Providers have...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.