From: cjvenron <cjvenron@my-deja.com>
Newsgroups: comp.databases.oracle.tools
Subject: using ProC to connect to a remote dbase (known via tsnames.ora)?
Date: Thu, 01 Feb 2001 23:46:14 GMT
Organization: Deja.com
Lines: 17
Message-ID: <95csg4$lhp$1@nnrp1.deja.com>
NNTP-Posting-Host: 192.152.140.9
X-Article-Creation-Date: Thu Feb 01 23:46:14 2001 GMT
X-Http-User-Agent: Mozilla/4.7 [en] (X11; I; SunOS 5.8 sun4u)
X-Http-Proxy: 1.1 netappc760 (NetCache 4.1R6), 1.0 x71.deja.com:80 (Squid/1.1.22) for client 172.16.32.244, 192.152.140.9
X-MyDeja-Info: XMYDJUIDcjvenron


i'm doing something ostensibly straightforward- compiling some of the
sample pro-c code on a machine with oracle client-side programmer's
option installed.

like basically everyone else in the oracle world, our databases are
remote, and i know where they are thru the tsnames.ora file downloaded
to my server daily.

but, this c-code only seems to support username/password connects, and
not those with remore hosts id's (ie, ip addresses and port numbers).

does anyone know the (likely minor) modifications to make to the c code
(dynamic sql, fyi) to permit connections to remote hosts?


Sent via Deja.com
http://www.deja.com/

