Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2003
    Location
    India
    Posts
    22

    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....

    Thanks

    Arun.

  2. #2
    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 13:02.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •