If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL Connection to COBOL

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-18-03, 02:00
arunchp arunchp is offline
Registered User
 
Join Date: Nov 2003
Location: India
Posts: 22
MySQL Connection to COBOL

Is any one acheived the Connection between COBOL and MySQL. If so give me details..... :-)

Here I am trying to establish the connection between COBOL and MySQL via C API provided by MySQL.

I have made external subroutine calls to those C API from COBOL. For that I have to include some library files into the COBOL during Linking such as 'libmysql.lib' and 'mysqlclient.lib'.

While linking the COBOL linker recognize those Lib file but shows some errors too;
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_ERROR
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_INIT
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_REAL_CONNECT
X4Cini.obj : error LNK2001: unresolved external symbol __MYSQL_CLOSE
X4Cini.dll : fatal error LNK1120: 4 unresolved externals

I have tested those C API functionality in VC++ it's working fine just by linking libmysql.lib to it's linker. why it does not in COBOL?

Can any one give me idea to do next step....

Thanks

Arun.
Reply With Quote
  #2 (permalink)  
Old 01-13-04, 11:06
cyberdinn cyberdinn is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
Thumbs up You should try this software...

I think you should try Cobol Access Plus, a gateway between cobol and MySQL.

Description at mysql.com :
http://www.mysql.com/portal/software/item-372.html

Website : http://www.rldt.fr

Last edited by cyberdinn; 01-13-04 at 12:02.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On