var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: 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....
You should try this software...
I think you should try Cobol Access Plus, a gateway between cobol and MySQL.
Description at mysql.com :
Website : http://www.rldt.fr
Last edited by cyberdinn; 01-13-04 at 12:02.