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

    Question Unanswered: connecting MySQL to COBOL

    I am novice to COBOL programming but having enough logical abilities.

    I wanna connect MySQL database into COBOL.

    I have already clears that no Embedded SQL supports in MySQL so i thing no way to connect COBOL thru it's embedded SQL cabapility.

    i am so kind enough if any one gives some ideas related to this.

    Thank you...
    apa.

  2. #2
    Join Date
    Nov 2003
    Location
    India
    Posts
    22

    approach to establishing connection between COBOL and MySQL

    I found that MySQL provides a set of C API to establish and manipulate connection with MySQL Databases.
    REF: http://www.mysql.com/doc/en/C_API_fu..._overview.html

    Also from COBOL we have the facility to interact with C through it's subroutine features. So we can create subroutines to the C API provided by MySQL.

    I thought that there are some steps to be followed to create interface between MySQL and COBOL

    - There should be some file (like .obj) to setup interface between COBOL and C.
    - There should be some OS specific files (like .obj) provided by COBOL to initialize C run time.
    - like wise we should have COBOL run time library
    - OS supporting library file for COBOL.

    I found that Library file given by MySQL for C API is 'mysqlclient.lib'.

    Is any one approched in this way earlier than this please let me know what are all the additional requirements to establish connection between COBOL and MySQL.

    thanks

    apa.

Posting Permissions

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