Good morning. I'm new to this forum. I have worked for many years in Cobol in the past, and I discovered this wonderful GNU Cobol tool in subject called OpenCobolIDE. I installed version 4.7.6, and I wrote quite a few file-managed programs. Everything went well, until I came up with the idea of creating cursors on tables in MS-Access or MySql. But unfortunately OpenCoboIDE returns error on the first "EXEC SQL" statement it encounters, whatever the DBMS is. Certainly there is a lack of libraries. Is that so? What can I do? Help!
Thanks in advance
Vincent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OCIDE is not only "left alone" but explicit deprecated, so considering to move to something newer seems reasonable. If you want to keep it: ensure that you update the contained GnuCOBOL version to a newer one.
OCIDE has some properties for files to be precompiled (.sqb instead of .cob, if I remember correctly) which will be precompiled with esqloc - which needs to be installed separately.
But as noted: it is time to switch from OCIDE - I can recommend either to vscode or GixIDE.
As you seem to be on Windows (given MS Access) I'd suggest having either a look at the installer from https://superbol.eu/en/developers/windows-aio-3.2/ which includes gixsql (OCIDE is not aware of it) together with VSCodium and the COBOL extension superbol-studio or use the COBOL specific GixIDE (installer includes also gixsql and a debugger).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Both vscode + superbol extension and GixIDE are identical reasonable for GNU/Linux as they are for Windows.
The difference is only that you'd get the gnucobol binaries from your package manager (no need for binary installer) and if you want GixIDE either use the matching .deb package or install them from source.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That's Ok. Thanks to all.
May you explicate what I do ? Install what exactly? Download from, configure, execute, set path, etc. I don't use Linux, but Wndows 10 and I already installed and run OpenCobolIDE.
Thanks :)
Vincent
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good morning. I'm new to this forum. I have worked for many years in Cobol in the past, and I discovered this wonderful GNU Cobol tool in subject called OpenCobolIDE. I installed version 4.7.6, and I wrote quite a few file-managed programs. Everything went well, until I came up with the idea of creating cursors on tables in MS-Access or MySql. But unfortunately OpenCoboIDE returns error on the first "EXEC SQL" statement it encounters, whatever the DBMS is. Certainly there is a lack of libraries. Is that so? What can I do? Help!
Thanks in advance
Vincent
OCIDE is not only "left alone" but explicit deprecated, so considering to move to something newer seems reasonable. If you want to keep it: ensure that you update the contained GnuCOBOL version to a newer one.
OCIDE has some properties for files to be precompiled (.sqb instead of .cob, if I remember correctly) which will be precompiled with esqloc - which needs to be installed separately.
But as noted: it is time to switch from OCIDE - I can recommend either to vscode or GixIDE.
As you seem to be on Windows (given MS Access) I'd suggest having either a look at the installer from https://superbol.eu/en/developers/windows-aio-3.2/ which includes gixsql (OCIDE is not aware of it) together with VSCodium and the COBOL extension
superbol-studio
or use the COBOL specific GixIDE (installer includes also gixsql and a debugger).This would be a good spot (for searches on IDE... ) to also post the same information on IDE and debug suggestions for Linux users, would it not?
Both vscode + superbol extension and GixIDE are identical reasonable for GNU/Linux as they are for Windows.
The difference is only that you'd get the gnucobol binaries from your package manager (no need for binary installer) and if you want GixIDE either use the matching .deb package or install them from source.
That's Ok. Thanks to all.
May you explicate what I do ? Install what exactly? Download from, configure, execute, set path, etc. I don't use Linux, but Wndows 10 and I already installed and run OpenCobolIDE.
Thanks :)
Vincent