Can I work with an old DBF-File with OpenCobol by default? Or do I
have to use Embedded SQL? Or a library?
Thursday November 09 2023 12:47, F. W. wrote to All:
> Can I work with an old DBF-File with OpenCobol by default? Or do I
> have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C? libriaries to handle it by calling such from within Cobol. Sorry your msg does not show exactly what DBF system you are referring to.
On 11/9/2023 1:43 PM, Vincent Coen wrote:
Thursday November 09 2023 12:47, F. W. wrote to All:
> Can I work with an old DBF-File with OpenCobol by default? Or do I
> have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C? libriaries to
handle it by calling such from within Cobol. Sorry your msg does not show
exactly what DBF system you are referring to.
Often DBF-file means dBase III/IV/V database.
On 11/9/2023 1:43 PM, Vincent Coen wrote:
Thursday November 09 2023 12:47, F. W. wrote to All:
> Can I work with an old DBF-File with OpenCobol by default? Or do
I
> have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C?
libriaries to handle it by calling such from within Cobol. Sorry
your msg does not show exactly what DBF system you are referring to.
Often DBF-file means dBase III/IV/V database.
Arne
Can I work with an old DBF-File with OpenCobol by default? Or do I
have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C? libriaries
to handle it by calling such from within Cobol. Sorry your msg does
not show exactly what DBF system you are referring to.
Am 09.11.2023 um 19:43 schrieb Vincent Coen:
Can I work with an old DBF-File with OpenCobol by default? Or do I
have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C?
libriaries to handle it by calling such from within Cobol. Sorry
your msg does not show exactly what DBF system you are referring to.
Thank you for answering.
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
In C, Pascal etc. I have to install a database library or so. Can
COBOL handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
FW
Am 09.11.2023 um 19:43 schrieb Vincent Coen:
Can I work with an old DBF-File with OpenCobol by default? Or do I
have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C? libriaries
to handle it by calling such from within Cobol. Sorry your msg does
not show exactly what DBF system you are referring to.
Thank you for answering.
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
In C, Pascal etc. I have to install a database library or so. Can COBOL handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
Thursday November 09 2023 18:50, Arne Vajhøj wrote to All:
> On 11/9/2023 1:43 PM, Vincent Coen wrote:
>> Thursday November 09 2023 12:47, F. W. wrote to All:
>> > Can I work with an old DBF-File with OpenCobol by default? Or do I
>> > have to use Embedded SQL? Or a library?
>>
>> You can use GnuCobol BUT, you will need to also use the C?
>> libriaries to handle it by calling such from within Cobol. Sorry
>> your msg does not show exactly what DBF system you are referring to.
> Often DBF-file means dBase III/IV/V database.
As Bill has stated you will have to run the DB through a utility to convert it to a current DB or even a ISAM file before using Cobol to read it.
If needed it can be converted to a sequential file instead of a ISAM one as it will be simpler to process subject to the type of data stored (i.e., binary fields but would be OK for sequential but NOT Line Sequential).
On 11/13/2023 6:15 AM, F. W. wrote:
Am 09.11.2023 um 19:43 schrieb Vincent Coen:
Can I work with an old DBF-File with OpenCobol by default? Or do I
have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C? libriaries
to handle it by calling such from within Cobol. Sorry your msg does
not show exactly what DBF system you are referring to.
Thank you for answering.
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
In C, Pascal etc. I have to install a database library or so. Can COBOL
handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
If you choose the option to do ISAM GnuCOBOL includes BDB when it
builds. But, to the best of my knowledge, ISAM files are not portable between different COBOL compilers.
bill
On 11/9/2023 1:50 PM, Arne Vajhøj wrote:
On 11/9/2023 1:43 PM, Vincent Coen wrote:
Sorry your msg does not show
exactly what DBF system you are referring to.
Often DBF-file means dBase III/IV/V database.
dBase, FoxBASE, FoxPro and a few others.
Format is well documented so writing something in COBOL to
futz with a dbf file is definitely doable. But I would have
to ask why? There appear to be utilities on the web to convert
dbf to other more modern formats.
I play with CP/M and TRS-80's all the time and even I haven't
run dBase in so long I can't even remember the last time.
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
In C, Pascal etc. I have to install a database library or so. Can COBOL handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
On 11/13/2023 6:15 AM, F. W. wrote:
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
In C, Pascal etc. I have to install a database library or so. Can COBOL
handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
If you choose the option to do ISAM GnuCOBOL includes BDB when it
builds.
But, to the best of my knowledge, ISAM files are not portable
between different COBOL compilers.
Am 13.11.2023 um 14:49 schrieb bill:
On 11/13/2023 6:15 AM, F. W. wrote:
Am 09.11.2023 um 19:43 schrieb Vincent Coen:
Can I work with an old DBF-File with OpenCobol by default? Or do I
have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C? libriaries
to handle it by calling such from within Cobol. Sorry your msg does
not show exactly what DBF system you are referring to.
Thank you for answering.
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
In C, Pascal etc. I have to install a database library or so. Can COBOL
handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
If you choose the option to do ISAM GnuCOBOL includes BDB when it
builds. But, to the best of my knowledge, ISAM files are not portable
between different COBOL compilers.
bill
Thank you. I think this is here not necessary.
What about SCREEN SECTION? This can not be used for GUIs?
Am 13.11.2023 um 14:49 schrieb bill:
On 11/13/2023 6:15 AM, F. W. wrote:
Am 09.11.2023 um 19:43 schrieb Vincent Coen:
Can I work with an old DBF-File with OpenCobol by default? Or do
I have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C?
libriaries to handle it by calling such from within Cobol. Sorry
your msg does not show exactly what DBF system you are referring
to.
Thank you for answering.
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per
Default?
In C, Pascal etc. I have to install a database library or so. Can
COBOL handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
If you choose the option to do ISAM GnuCOBOL includes BDB when it
builds. But, to the best of my knowledge, ISAM files are not
portable between different COBOL compilers.
bill
Thank you. I think this is here not necessary.
What about SCREEN SECTION? This can not be used for GUIs?
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
On 11/13/2023 6:15 AM, F. W. wrote:
Am 09.11.2023 um 19:43 schrieb Vincent Coen:
Can I work with an old DBF-File with OpenCobol by default? Or do I
have to use Embedded SQL? Or a library?
You can use GnuCobol BUT, you will need to also use the C? libriaries
to handle it by calling such from within Cobol. Sorry your msg does
not show exactly what DBF system you are referring to.
Thank you for answering.
I asked myself, if I have a "normed" COBOL-Compiler here (COBOL 85
etc.), can this Compiler in all cases handle ISAM-Files per Default?
In C, Pascal etc. I have to install a database library or so. Can COBOL
handle that by default simply by installing the compiler?
As far as I can recognize: yes, it can.
If you choose the option to do ISAM GnuCOBOL includes BDB when it
builds. But, to the best of my knowledge, ISAM files are not portable >between different COBOL compilers.
Am 13.11.2023 um 14:49 schrieb bill:
If you choose the option to do ISAM GnuCOBOL includes BDB when it
builds.?? But, to the best of my knowledge, ISAM files are not portable
between different COBOL compilers.
Thank you. I think this is here not necessary.
What about SCREEN SECTION? This can not be used for GUIs?
Hello F!
Monday November 13 2023 14:51, F. W. wrote to All:
What about SCREEN SECTION? This can not be used for GUIs?
For real gui again look the gnucobol site for FAQs and there is various >suggestions for using 3rd party tools and languages that Cobol can call but >be warned there will be a learning curve to use any of them.
Sysop: | Luis Silva |
---|---|
Location: | Lisbon |
Users: | 763 |
Nodes: | 10 (0 / 10) |
Uptime: | 180:54:15 |
Calls: | 111 |
Files: | 46,971 |
Messages: | 11,239 |