473,395 Members | 1,905 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.

a short connection problem

Hello!

excuse me for my minimum-knowledge about db2 and databases.
nethertheless let my ask you this question. i have a db2 database
somewhere runnning on a linux machine. when i am logged in as a
special user on this machine, i can compile and start my programms
written in c++, i can connect to different databasis, execute sql
commands, etc. now i wanted to run my programms same way but logged in
on another machine. i just copied the libraries to that machine. so i
could start my programms. the problem is now that within this
application i cannot connect to the databasis on the other machine (a
runtime error occurs). actually i am not knowing how to write in c++,
that he should connect the database on the db2 computer. or maybe i
have a general mistake in my way of thinking. could anyone help me?
thanks a lot..
Arnd Schröter
Nov 12 '05 #1
1 1559
Ian
Arnd Schroeter wrote:
Hello!

excuse me for my minimum-knowledge about db2 and databases.
nethertheless let my ask you this question. i have a db2 database
somewhere runnning on a linux machine. when i am logged in as a
special user on this machine, i can compile and start my programms
written in c++, i can connect to different databasis, execute sql
commands, etc. now i wanted to run my programms same way but logged in
on another machine. i just copied the libraries to that machine. so i
could start my programms. the problem is now that within this
application i cannot connect to the databasis on the other machine (a
runtime error occurs). actually i am not knowing how to write in c++,
that he should connect the database on the db2 computer. or maybe i
have a general mistake in my way of thinking. could anyone help me?
thanks a lot..
Arnd Schröter


I think you need to install the DB2 Runtime Client software on the
box where you want to run the application from. After installing the
Runtime client, you can then catalog the remote database so your
application can connect.

Good luck,


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
Nov 12 '05 #2

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

Similar topics

3
by: Jay | last post by:
I previously posted this question under Visual Basic newsgroup, but was advised to re-post here. I'm hoping someone can help me solve an issue I'm having with VB.Net and Access 2000. Here's...
3
by: Harry | last post by:
Using Oracle 8i enterprise on win 2000 (sp3) Installed the standard configuration & whenever I make a connection it takes about 10 secs. It's running on a P1900 with 1gb Ram so no reason there...
4
by: James | last post by:
We've had a recurring problem where all of a sudden we get a DBMSSOCN General Network Error on any page that connects to SQL Server. Then we have to reboot the server and everything works fine...
1
by: Tee | last post by:
Hi, my question is as the topic, can we make a long statement become short by pre-declare it. sorry if you can't understand what I asked, as I am not too sure how to ask it, but below is the...
7
by: LaMoRt | last post by:
Hi I want to ask how to convert from long to short since i have some parameter problem with it? The problem is like below : short *speech; // Holds length of any given sample *...
4
by: brad | last post by:
The following is a short ASP script and I would like to change it into a PHP script. The script of off of the W3 Schools wep site(http://www.w3schools.com/ajax/ajax_database.asp). I am not sure...
4
by: slougheed | last post by:
I encountered a problem after we had converted our declarations of 'unsigned short int' to uint16_t. In one instance, whoever did the conversion failed to delete the 'short' keyword so we had a...
20
by: fniles | last post by:
I am using VS2003 and connecting to MS Access database. When using a connection pooling (every time I open the OLEDBCONNECTION I use the exact matching connection string), 1. how can I know how...
2
by: cybervegan | last post by:
Hi, I'm a bit new to MySQL; here's a philisophical question. I'm working on getting my head round apache2+mod_python+mysql for web applications. It all seems pretty straight-forward, and I'm...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.