[R-sig-DB] odbcDriverConnect not working in UNIX
d. sarthi maheshwari
@@m@y@@@r @end|ng |rom gm@||@com
Tue Sep 11 15:18:12 CEST 2007
I also getting following warnings ::
[RODBC] ERROR: state IM002, code 0, message [unixODBC][Driver Manager]Data
source name not found, and no default driver specified
Kindly suggest what could be the problem.
Thanks in advance.
Regards
Sar
On 9/11/07, d. sarthi maheshwari <samay.sar using gmail.com> wrote:
>
> Hi,
>
> I apologized for my not so good english.
>
> I am working on R-2.5.0 on Sun Solaris 10 machine. I have successfully
> installed R and RODBC library in it.
>
> When i am trying to connect to Sybase server using odbcDriverConnect
> command, the execution is getting hang (No error is coming, no handle has
> been returned back; the code execution stopped at odbcDriverConnect
> statement). Following is the piece of code i am trying executing:
>
> library(RODBC)
> inchannel <- odbcDriverConnect("Driver={SYBASE ASE ODBC
> Driver};srvr="tt_lyb";db=archive;uid=guest;pwd=guest")
> ....
> ....
> ....
>
> When I tested this connection in Windows on R-2.5.0, it worked well and
> returned me the connection's handle.
>
> Kindly help me.
>
> Thanks in advance.
>
> Regards
> Sar
>
[[alternative HTML version deleted]]
More information about the R-sig-DB
mailing list