HOME  NEWS  FORUM  DOWNLOAD  LINK
OpenCOBOL - an open-source COBOL compiler
Main Menu
Download
Documentation
Development
Who's Online
27 user(s) are online (13 user(s) are browsing Forum)

Members: 0
Guests: 27

more...
Powered by
SourceForge

Xoops

Creative Commons

OpenCOBOL Forum Index
   OpenCOBOL
     ODBC Error
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
joy_deep
Posted on: 2010/12/11 21:14
Not too shy to talk
Joined: 2009/2/3
From:
Posts: 31
ODBC Error
Hi,

I am using Windows 7 64-bit with OpenCobol binary from Kiska 32-bit and VC++ Express 32-bit. I created an ODBC connection for Oracle database using sysWOW64 ODBCAD32.exe. I precompiled the program with ESQLOC 32-bit. It went OK. Then I compiled it OK. But when I try to run the program, it says "SQL Error message:[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified". Please help.

Thanks!
ska
Posted on: 2010/12/13 18:32
Just can't stay away
Joined: 2008/3/17
From: NYC
Posts: 145
Re: ODBC Error
Hi,

Oracle has its own Pro*COBOL, and I think it's much better to use this one and not ODBC.
So the "ocsql" runtime has never been done for Oracle. It contains some MSSQL and DB2 - specific stuff, and those need to be removed from the code.
Of course it's not a big deal to adjust, but "as is" it will not work anyway.
I can't check 32-bit version - just don't have 32-bit Oracle client / ODBC drivers...


----------------
Regards,
Sergey

joy_deep
Posted on: 2010/12/19 2:53
Not too shy to talk
Joined: 2009/2/3
From:
Posts: 31
Re: ODBC Error
I have same error for MS ACCESS.

Thanks
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 
Copyright (C) 2005 The OpenCOBOL Project. All rights reserved.
Powered by Xoops2 | PHP | MySQL | Apache
ocean-net