Highlighted
Absent Member.
Absent Member.
1085 views

MS Access DCLGEN

Can someone walk me through how to setup a MS Access (accdb) DB to use with VC and how to create a DCLGEN.

I have been at this for about 2 months with no luck.

Tags (2)
0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: MS Access DCLGEN

To access any database including MS Access from within a native Visual COBOL program you will need to create an ODBC DSN in order to connect to the database. You can then use this DSN in your EXEC SQL CONNECT TO statement in your program and then issue other EXEC SQL I-O statements against it. The OpenESQL Assistant tool can be a great tool to help you get started.

The following videos may be useful to you:

Using ODBC with Visual COBOL
OpenESQL Database Connections
OpenESQL Assistant

Thanks.

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.