Highlighted
Absent Member.
Absent Member.
1333 views

DB2 in visual cobol

Jump to solution

I have installed DB2 in visual cobol. Do you know which server I  can use when I create a database ?. Is it a download file from IBM or  Microfocus ?.

/Thanks Hans  

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

I do not understand the question.

Visual COBOL provides access to DB2 databases using a number of different methods depending on your requirements.

If you are creating a native application then you can use the DB2 External Compiler Module by setting the DB2 directive for your program. This also requires that you have the DB2 Application Development Client software installed and this is something that you get from IBM.

You can also access DB2 by using an ODBC driver (from IBM) in a native program using the directrive SQL(DBMAN=ODBC).

You can also access DB2 from a .NET managed program by using the DB2 ADO.NET Provider (from IBM) using the directive SQL(DBMAN=ADO).

You can also access DB2 from a JVM managed program by using the DB2 JDBC driver (from IBM) using the directive SQL(DBMAN=JDBC).

What type of application are you developing and what is it exactly that you are wishing to do?

Thanks.

View solution in original post

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

I do not understand the question.

Visual COBOL provides access to DB2 databases using a number of different methods depending on your requirements.

If you are creating a native application then you can use the DB2 External Compiler Module by setting the DB2 directive for your program. This also requires that you have the DB2 Application Development Client software installed and this is something that you get from IBM.

You can also access DB2 by using an ODBC driver (from IBM) in a native program using the directrive SQL(DBMAN=ODBC).

You can also access DB2 from a .NET managed program by using the DB2 ADO.NET Provider (from IBM) using the directive SQL(DBMAN=ADO).

You can also access DB2 from a JVM managed program by using the DB2 JDBC driver (from IBM) using the directive SQL(DBMAN=JDBC).

What type of application are you developing and what is it exactly that you are wishing to do?

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.