Highlighted
Absent Member.
Absent Member.
1724 views

[Migrated content. Thread originally posted on 04 November 2011]

Hi,
in set directive
targetdb no exist option MySQL yet?
In Visual Cobol.

Thanks.

Cláudio Miguel Müller

claudiomiguelmuller@hotmail.com

www.meugibi.com

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MySQL

Jump to solution
Navigate to Start menu-->All Programs-->Visual COBOL 2010-->Visual COBOL Samples to launch the samples browser.
Click on SQL in the left hand pane and then click on any of the ODBC examples.

Example "Dynamic" will create a table and insert and manipulate rows etc. so this would be a good one.

You will just need to enter your DSN name for MySQL when prompted and it should demonstrate what you are looking for.

Thanks.

View solution in original post

0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: MySQL

Jump to solution
Hi Claudio,

I assume that you're using OpenESQL to connect to MySQL? If so, that should work without the need for an implementation of SQL(TARGETDB=MYSQL).

Are you encountering particular problems ?

Kind regards,
SimonT.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MySQL

Jump to solution
I need a simples sample with
create functions with SQL embeded and returns information in this functions to cobol.

Thanks.

Cláudio Miguel Müller

claudiomiguelmuller@hotmail.com

www.meugibi.com

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: MySQL

Jump to solution
Sorry,
SAMPLE with MYSQL i need.

Thanks.

Cláudio Miguel Müller

claudiomiguelmuller@hotmail.com

www.meugibi.com

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MySQL

Jump to solution
Navigate to Start menu-->All Programs-->Visual COBOL 2010-->Visual COBOL Samples to launch the samples browser.
Click on SQL in the left hand pane and then click on any of the ODBC examples.

Example "Dynamic" will create a table and insert and manipulate rows etc. so this would be a good one.

You will just need to enter your DSN name for MySQL when prompted and it should demonstrate what you are looking for.

Thanks.

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.