For Programmers: Free Programming Magazines  


Home > Archive > Cobol > April 2005 > MySQL access from COBOL









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author MySQL access from COBOL
Anguel de Quevedo Garcia

2005-04-13, 3:55 pm

Does any of you know a way to access mysql databases from Compaq
Cobol? Or the other way 'round: Does someone know about another cobol
compiler running on Unix or VMS that's able to do that job?
Anguel de Quevedo Garcia

2005-04-15, 3:55 pm

Richard wrote:

>
> MySQL can be accessed using ODBC or unixODBC and so any Cobol that can
> use this can access it. eg Fujitsu Cobol for Linux.


Thank you so far. But I must admit that I don't have any clue how to
set up ODBC on a unix machine (on the same as the mysql server is running
on) and how to code that access on VMS Cobol. Is there any tutorial out
there? I did not found any on the web.

Thank you
-=* Anguel *=-
Richard

2005-04-15, 8:55 pm

> I don't have any clue how to set up ODBC on a unix machine

Start by getting unixODBC form unixodbc.org and read the documentation
that comes with it.

> how to code that access on VMS Cobol


I have no idea, nor even that anything on VMS could access ODBC or any
version of MySQL.

You may even have to tier your program so that there is a MySQL
accessing program running on the MySQL server that sends data back to
your program.

Don Braffitt

2005-04-25, 3:55 am

> I have no idea, nor even that anything on VMS could access ODBC or
> any version of MySQL.


One way to do ODBC access on OpenVMS is with CONNX

http://www.connx.com/products/rms.html

- Don Braffitt

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com