Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Linux: the choice of a GNU generation -- ksh@cis.ufl.edu put this on Tshirts in '93


devel / comp.lang.cobol / Cann OpenCobol handle Databases by default?

SubjectAuthor
* Cann OpenCobol handle Databases by default?F. W.
`* Re: Cann OpenCobol handle Databases by default?Vincent Coen
 +* Re: Cann OpenCobol handle Databases by default?Arne Vajhøj
 |+* Re: Cann OpenCobol handle Databases by default?bill
 ||`- Re: Cann OpenCobol handle Databases by default?Arne Vajhøj
 |`* Re: Cann OpenCobol handle Databases by default?Vincent Coen
 | `- Re: Cann OpenCobol handle Databases by default?Arne Vajhøj
 `* Re: Cann OpenCobol handle Databases by default?F. W.
  +* Re: Cann OpenCobol handle Databases by default?bill
  |+* Re: Cann OpenCobol handle Databases by default?F. W.
  ||+- Re: Cann OpenCobol handle Databases by default?bill
  ||+- Re: Cann OpenCobol handle Databases by default?docdwarf
  ||`* Re: Cann OpenCobol handle Databases by default?Vincent Coen
  || `- Re: Cann OpenCobol handle Databases by default?docdwarf
  |+- Re: Cann OpenCobol handle Databases by default?Arne Vajhøj
  |`- Re: Cann OpenCobol handle Databases by default?docdwarf
  +- Re: Cann OpenCobol handle Databases by default?Arne Vajhøj
  +- Re: Cann OpenCobol handle Databases by default?Vincent Coen
  `- Re: Cann OpenCobol handle Databases by default?docdwarf

1
Cann OpenCobol handle Databases by default?

<uiikdb$19pe8$3@solani.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=502&group=comp.lang.cobol#502

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder2.eternal-september.org!eternal-september.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: me@home.invalid (F. W.)
Newsgroups: comp.lang.cobol
Subject: Cann OpenCobol handle Databases by default?
Date: Thu, 9 Nov 2023 13:47:39 +0100
Message-ID: <uiikdb$19pe8$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 9 Nov 2023 12:47:40 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1369544"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:7zvvq/P1+esKMQqJAJQMmeO317A=
Content-Language: de-DE
X-User-ID: eJwNy8kBwCAIBMCWRJcFyuHQ/ktI5j96KGwDldCn7yjYLKTHjutnBl6rb2Fu7UANR3yholKSw2urBakmfzf/AFspFZk=
 by: F. W. - Thu, 9 Nov 2023 12:47 UTC

Can I work with an old DBF-File with OpenCobol by default? Or do I have
to use Embedded SQL? Or a library?

Thanx

FW

Re: Cann OpenCobol handle Databases by default?

<1699555409@f1.n250.z2.fidonet.ftn>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=503&group=comp.lang.cobol#503

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: VBCoen@gmail.com (Vincent Coen)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Thu, 09 Nov 2023 18:43:29 +0000
Organization: A noiseless patient Spider
Lines: 15
Sender: "Vincent Coen" <VBCoen@gmail.com>
Message-ID: <1699555409@f1.n250.z2.fidonet.ftn>
References: <uiikdb$19pe8$3@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="13253aa23700ada99045854d97b9dbc8";
logging-data="2465644"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Li6dTpMHCexfxCv5bdJQP"
Cancel-Lock: sha1:VI5WNl1tzHRalHquFxCt8i+qA/U=
X-FTN-PATH: 250/1
X-FTN-SEEN-BY: 25/0 21 250/0 1 2 4 5 6 8 13 14 15 263/0 362/6 371/52 467/4 712/1321
X-FTN-AREA: COMP.LANG.COBOL
X-Comment-To: "F. W." <me@home.invalid>
X-FTN-TID: MBSE-FIDO 1.0.8.4 (Linux-x86_64)
X-FTN-MSGID: 2:250/1@fidonet 654d28b5
X-FTN-CHRS: UTF-8 2
X-Newsreader: GoldED+/LNX 1.1.5 (Linux 5.15.126-server-1.mga8 CPU UNKNOWN)
X-FTN-PID: GED+LNX 1.1.5-b20180707
REPLY: solani.org 766fe50f
X-FTN-TZUTC: 0000
X-FTN-Sender: Vincent Coen <Vincent.Coen@f1.n250.z2.fidonet.org>
X-Origin-Newsgroups: comp.lang.cobol
 by: Vincent Coen - Thu, 9 Nov 2023 18:43 UTC

Hello F!

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.

Vincent

Re: Cann OpenCobol handle Databases by default?

<uij9kq$2b63m$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=504&group=comp.lang.cobol#504

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.samoylyk.net!news.niel.me!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Thu, 9 Nov 2023 13:50:01 -0500
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <uij9kq$2b63m$1@dont-email.me>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 9 Nov 2023 18:50:02 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="4eaa7373b321469128caae13b0f7997b";
logging-data="2463862"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DqT4a0ydMBOoQH0nW5jg7eySNfWoMNWI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:qP0tRfQNdukNZv7mlNwwEELz0W0=
Content-Language: en-US
In-Reply-To: <1699555409@f1.n250.z2.fidonet.ftn>
 by: Arne Vajhøj - Thu, 9 Nov 2023 18:50 UTC

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

Re: Cann OpenCobol handle Databases by default?

<kr5h89FisnuU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=505&group=comp.lang.cobol#505

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gunshannon@gmail.com (bill)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Thu, 9 Nov 2023 21:01:44 -0500
Lines: 25
Message-ID: <kr5h89FisnuU1@mid.individual.net>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uij9kq$2b63m$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net QAlrr7dWWBG5/kRZZU6dWAJiImzW8fP7Xh475SfjiR0CxacDIm
Cancel-Lock: sha1:/neJ5pDo73/pMWw8az+3n/GZSRQ= sha256:KMQX32XRK25xJ0tCEzFVIzeNXrb4bFX68L+PHHosjhQ=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uij9kq$2b63m$1@dont-email.me>
 by: bill - Fri, 10 Nov 2023 02:01 UTC

On 11/9/2023 1:50 PM, Arne Vajhøj wrote:
> 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.
>

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.

bill

Re: Cann OpenCobol handle Databases by default?

<1699627971@f1.n250.z2.fidonet.ftn>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=506&group=comp.lang.cobol#506

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: VBCoen@gmail.com (Vincent Coen)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Fri, 10 Nov 2023 14:52:51 +0000
Organization: A noiseless patient Spider
Lines: 33
Sender: "Vincent Coen" <VBCoen@gmail.com>
Message-ID: <1699627971@f1.n250.z2.fidonet.ftn>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn> <uij9kq$2b63m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="fcc25f047c503c622299991a7c4c98d4";
logging-data="3033631"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX185Fugn0JRxiy2tjoTFt8/v"
Cancel-Lock: sha1:WqMchvGlFMK8HcCygASCjjf3IvI=
X-FTN-PATH: 250/1
X-FTN-TID: MBSE-FIDO 1.0.8.4 (Linux-x86_64)
X-FTN-Sender: Vincent Coen <Vincent.Coen@f1.n250.z2.fidonet.org>
X-FTN-MSGID: 2:250/1@fidonet 654e4477
X-FTN-CHRS: UTF-8 2
X-FTN-AREA: COMP.LANG.COBOL
X-Newsreader: GoldED+/LNX 1.1.5 (Linux 5.15.126-server-1.mga8 CPU UNKNOWN)
X-Comment-To: "Arne Vajhøj" <arne@vajhoej.dk>
X-FTN-SEEN-BY: 25/0 21 250/0 1 2 4 5 6 8 13 14 15 263/0 362/6 371/52 467/4 712/1321
X-FTN-PID: GED+LNX 1.1.5-b20180707
REPLY: dont-email.me c6039fa6
X-FTN-TZUTC: 0000
X-Origin-Newsgroups: comp.lang.cobol
 by: Vincent Coen - Fri, 10 Nov 2023 14:52 UTC

Hello Arne!

Thursday November 09 2023 18:50, Arne Vajhøj wrote to All:

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/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

Vincent

Re: Cann OpenCobol handle Databases by default?

<uit0h2$1erva$4@solani.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=507&group=comp.lang.cobol#507

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!usenet.network!news.neodome.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: me@home.invalid (F. W.)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 12:15:45 +0100
Message-ID: <uit0h2$1erva$4@solani.org>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 13 Nov 2023 11:15:46 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1535978"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:03QskYJe7039cLO3Bewsqv+Kydc=
In-Reply-To: <1699555409@f1.n250.z2.fidonet.ftn>
Content-Language: de-DE
X-User-ID: eJwFwYEBACAEBMCVEl6NQ/z+I3TnCsELg8Oczieb2KfciBTYcKxr91yUFHxqqd1ZjHMyQWnli86lF91qH2d4Fic=
 by: F. W. - Mon, 13 Nov 2023 11:15 UTC

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

Re: Cann OpenCobol handle Databases by default?

<krenqgFisnuU2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=508&group=comp.lang.cobol#508

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.neodome.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gunshannon@gmail.com (bill)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 08:49:04 -0500
Lines: 28
Message-ID: <krenqgFisnuU2@mid.individual.net>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uit0h2$1erva$4@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 8t3cnYIVTARCGAOD0Xd35w+ZWkFurUAGJ/f03HxSlXclCcyGoj
Cancel-Lock: sha1:lITYfwH2PDAGkvTwmmRH7a9SYNg= sha256:T8oaapS4ggxYdLqKYXsbMvg1LxViZHd4VzUsUVxx6kw=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uit0h2$1erva$4@solani.org>
 by: bill - Mon, 13 Nov 2023 13:49 UTC

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

Re: Cann OpenCobol handle Databases by default?

<uitd1f$me1i$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=509&group=comp.lang.cobol#509

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 09:49:18 -0500
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <uitd1f$me1i$1@dont-email.me>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uij9kq$2b63m$1@dont-email.me> <1699627971@f1.n250.z2.fidonet.ftn>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Nov 2023 14:49:19 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a95d63072d786c0ecfe05574772cc0b";
logging-data="735282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18YGvZPxnzBqcUl2h5HH+1oy44Ymyv75bc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:cElnI857Pfjf9fV0Ipv3Z81x31M=
In-Reply-To: <1699627971@f1.n250.z2.fidonet.ftn>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 13 Nov 2023 14:49 UTC

On 11/10/2023 9:52 AM, Vincent Coen wrote:
> 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).

There could exist a Cobol library to read DBF files directly
from Cobol.

But a utility to convert the DBF file to something more
modern is probably the way to go.

You can either find a complete utility or write something
custom using a library.

If you go custom then Python may be a good choice.

Maybe:
https://pypi.org/project/dbfread/

Arne

Re: Cann OpenCobol handle Databases by default?

<uitd67$1f5jp$5@solani.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=510&group=comp.lang.cobol#510

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.nntp4.net!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: me@home.invalid (F. W.)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 15:51:51 +0100
Message-ID: <uitd67$1f5jp$5@solani.org>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uit0h2$1erva$4@solani.org> <krenqgFisnuU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Nov 2023 14:51:52 -0000 (UTC)
Injection-Info: solani.org;
logging-data="1545849"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:tANgPaz2IxNolaojtK4yJseJ+6M=
In-Reply-To: <krenqgFisnuU2@mid.individual.net>
Content-Language: de-DE
X-User-ID: eJwNysEBwCAIA8CVRAjGcTSU/Uew9z54WmpFIgONLsvmkkchjut+pAE6xb4Y3MPSQyyG2QRl8tGHV/u/s+YDUE4VkA==
 by: F. W. - Mon, 13 Nov 2023 14:51 UTC

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?

FW

Re: Cann OpenCobol handle Databases by default?

<uitdgt$me1i$2@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=511&group=comp.lang.cobol#511

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.nntp4.net!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 09:57:33 -0500
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <uitdgt$me1i$2@dont-email.me>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uij9kq$2b63m$1@dont-email.me> <kr5h89FisnuU1@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Nov 2023 14:57:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a95d63072d786c0ecfe05574772cc0b";
logging-data="735282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1//SpAkkMLlWMqn27vq01HRpCcR6CuiCd8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DtnMZalZqkYmJ8WNv4pSNtiNP6k=
In-Reply-To: <kr5h89FisnuU1@mid.individual.net>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 13 Nov 2023 14:57 UTC

On 11/9/2023 9:01 PM, bill wrote:
> 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.

DBF was a relative common format up to the late 90's.

And recent Windows versions (checked on 10) still ship with
ODBC driver for DBF files. Note though that ODBC to a non-SQL
database comes with its own challenges.

Arne

Re: Cann OpenCobol handle Databases by default?

<uitdsr$me1i$3@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=512&group=comp.lang.cobol#512

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 10:03:55 -0500
Organization: A noiseless patient Spider
Lines: 15
Message-ID: <uitdsr$me1i$3@dont-email.me>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uit0h2$1erva$4@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 13 Nov 2023 15:03:55 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a95d63072d786c0ecfe05574772cc0b";
logging-data="735282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19bsvx/0nF6Gf52jrFsyB4jRGTvq4M7i+0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SxNT9hVypMw/g8X9dIRJS/pBQXU=
In-Reply-To: <uit0h2$1erva$4@solani.org>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 13 Nov 2023 15:03 UTC

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.

I believe it was added to the Cobol standard many years
ago - like Cobol-74 or Cobol-85 (before my time).

Arne

Re: Cann OpenCobol handle Databases by default?

<uite5j$mm4t$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=513&group=comp.lang.cobol#513

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!news.samoylyk.net!news.gegeweb.eu!gegeweb.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arne@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 10:08:35 -0500
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <uite5j$mm4t$1@dont-email.me>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uit0h2$1erva$4@solani.org> <krenqgFisnuU2@mid.individual.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 13 Nov 2023 15:08:35 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a95d63072d786c0ecfe05574772cc0b";
logging-data="743581"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZFdFiK04LLz5ndUKyrBGw/i+M3gM4Qjs="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:IeB9yfFkZYwDhCBha7jm8WXwNQo=
Content-Language: en-US
In-Reply-To: <krenqgFisnuU2@mid.individual.net>
 by: Arne Vajhøj - Mon, 13 Nov 2023 15:08 UTC

On 11/13/2023 8:49 AM, bill wrote:
> 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.

You can get GnuCOBOL with BDB for ISAM support or with VBISAM for
ISAM support or without ISAM support.

BDB is supposedly the best. But for license reasons people
may consider VBISAM.

> But, to the best of my knowledge, ISAM files are not portable
> between different COBOL compilers.

They are not.

But usually the on disk formats are accessible via explicit
library calls. That means that it is possible to write
a C program that reads files in one format and write files
in another format. Or wrap such C code in some Java/Python/whatever
code.

Arne

Re: Cann OpenCobol handle Databases by default?

<kretqeFiso1U2@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=514&group=comp.lang.cobol#514

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gunshannon@gmail.com (bill)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 10:31:26 -0500
Lines: 44
Message-ID: <kretqeFiso1U2@mid.individual.net>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn>
<uit0h2$1erva$4@solani.org> <krenqgFisnuU2@mid.individual.net>
<uitd67$1f5jp$5@solani.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Y97R2X73zeaQ1GmRkReKUwdaoH3psBEPeusuH5Q13Q/XktzgaR
Cancel-Lock: sha1:WMf3SCFgFMUclc8CitAu4UH94Gg= sha256:teq0SICflqTdJuTMwxlV63RTbRVSDCfvaJC5eJ3r6Cw=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <uitd67$1f5jp$5@solani.org>
 by: bill - Mon, 13 Nov 2023 15:31 UTC

On 11/13/2023 9:51 AM, F. W. wrote:
> 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?
>

GUIs? No real graphics in COBOL. But terminal screens. Of course we
did that long before the SCREEN SECTION was introduced. I haven't used
any of them yet but I think there are a couple different GUI libraries
available for GnuCOBOL>

bill

Re: Cann OpenCobol handle Databases by default?

<1699892891@f1.n250.z2.fidonet.ftn>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=515&group=comp.lang.cobol#515

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: VBCoen@gmail.com (Vincent Coen)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 16:28:11 +0000
Organization: A noiseless patient Spider
Lines: 102
Sender: "Vincent Coen" <VBCoen@gmail.com>
Message-ID: <1699892891@f1.n250.z2.fidonet.ftn>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn> <uit0h2$1erva$4@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="3b46d045d8d91e24484a338a89d884ec";
logging-data="780294"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2U/SM3eMRUBB+fTzKJU9e"
Cancel-Lock: sha1:H6gphtIcC0IqigNzW1n7E1iDZg0=
X-FTN-TZUTC: 0000
X-FTN-PID: GED+LNX 1.1.5-b20180707
X-Comment-To: "F. W." <me@home.invalid>
X-FTN-SEEN-BY: 25/0 21 250/0 1 2 4 5 6 8 13 14 15 263/0 362/6 371/52 467/4 712/1321
X-FTN-TID: MBSE-FIDO 1.0.8.4 (Linux-x86_64)
X-FTN-AREA: COMP.LANG.COBOL
X-FTN-Sender: Vincent Coen <Vincent.Coen@f1.n250.z2.fidonet.org>
X-FTN-MSGID: 2:250/1@fidonet 655256d2
X-FTN-PATH: 250/1
X-FTN-CHRS: UTF-8 2
X-Newsreader: GoldED+/LNX 1.1.5 (Linux 5.15.126-server-1.mga8 CPU UNKNOWN)
REPLY: solani.org 618375b6
X-Origin-Newsgroups: comp.lang.cobol
 by: Vincent Coen - Mon, 13 Nov 2023 16:28 UTC

Hello F!

Monday November 13 2023 11:15, F. W. wrote to All:

> 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

When you build the Cobol compiler on your system regardless of O/S it
normally installs one of the various libraries and you can have the choice
of Berkeley (BDB), VBISAM, DISAM or others if you need them.

The one's normally used are BDB or VBISAM - They are not auto installed
unless you use one of Andrews builds from his website and he has one of
each for each archive.

See the document DEPENDENCIES and README for more information as well as
any docs supplied by Andrew. As far as I remember Andrew supplies all that
is need per GnuCOBOL archive.

GnuCOBOL is the name of the compiler that was renamed from OpenCobol some
10 years ago since it joined the GNU family of software tools.

These ISAM tools do NOT use a database per say, at least they are not SQL
types for those you do need another library such as Mysql, Postgres etc -
there are many others but regardless you must install the related library
for it as well as the development library for the same one.

I use Mysql and the JC Precompiler (written in Cobol) or dbpre (written in
C). Again there are many others including for ODBC.

Just read the supplied documentation and in addition you will need to also
download and read / print out the GnuCOBOL Programmers Guide, Programmers
Reference (current the same as the Guide), Quick Reference and may be the
Sample Programs and these you can get by going to :

https://gnucobol.sourceforge.io/guides.html

Scrolling down and select the version you want, i.e., A4 or USA letter
formats. These have minor updates during the a year so you might want to
get the latest every 3 - 6 months or so. There is no auto update service
for them as it is not available from the Sourceforge website.

As I am currently updating these as required, which can be at any point in
time subject to programmers telling me of updates, mistakes etc and
The latest manuals are always available at :

http://www.applewood.linkpc.net/files/GnuCobol/

Then folder Cobol-Guides

Note the names are of the form gnucobxx-yy.pdf
Where xx = pg (programmers guide), pr = programmers reference, qr = quck
reference and sp = sample programs
Where yy = a4 (A4 format) and letter (US Letter format).

I must get around to linking these to their formal names.

For the manuals, go to Cobol-Guides as noted above

For my Cobol tools go to Cobol-Tools
For my Applications go to Cobol-Applications and go to :

http://www.applewood.linkpc.net/files/

and select from :
CobXRef-latest
MySQL-Pre-Compilers
acas - for a Accounting system written in Cobol
and for the ACAS nightly builds go to :

http://www.applewood.linkpc.net/files/acas/nightlybuilds/

Note the OE system is still under test and some development - it is not
ready for usage other than for testing.

A version will be linked up into ACAS but at the moment it is a stand alone
application while being worked on.

By all mean have a good look around the different areas as they do get
updated from time to time.

Vincent

Re: Cann OpenCobol handle Databases by default?

<uitrtl$lod$1@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=516&group=comp.lang.cobol#516

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix1.panix.com!not-for-mail
From: docdwarf@panix.com
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 19:03:17 -0000 (UTC)
Organization: Public Access Networks Corp.
Message-ID: <uitrtl$lod$1@reader2.panix.com>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn> <uit0h2$1erva$4@solani.org>
Injection-Date: Mon, 13 Nov 2023 19:03:17 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix1.panix.com:166.84.1.1";
logging-data="22285"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Mon, 13 Nov 2023 19:03 UTC

In article <uit0h2$1erva$4@solani.org>, F. W. <me@home.invalid> wrote:

[snip]

>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?

If it cannot then it is not a full implementation of the Standard.

DD

Re: Cann OpenCobol handle Databases by default?

<uitsie$n3$1@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=517&group=comp.lang.cobol#517

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix1.panix.com!not-for-mail
From: docdwarf@panix.com
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 19:14:22 -0000 (UTC)
Organization: Public Access Networks Corp.
Message-ID: <uitsie$n3$1@reader2.panix.com>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn> <uit0h2$1erva$4@solani.org> <krenqgFisnuU2@mid.individual.net>
Injection-Date: Mon, 13 Nov 2023 19:14:22 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix1.panix.com:166.84.1.1";
logging-data="739"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Mon, 13 Nov 2023 19:14 UTC

In article <krenqgFisnuU2@mid.individual.net>,
bill <bill.gunshannon@gmail.com> wrote:
>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.

It was just a few years ago - '85, maybe '87 - that I had a gig where the
client was looking to replace DATABUS with an early version of Microfocus
COBOL on a Novel network of IBM PC ATs.

There was the DATABUS camp and the COBOL camp and the business-users camp
and none of the campers were happy, everyone argued and pointed fingers.
Everyone was wearing neckties, starched shirts and well-polished shoes.

Since I was the New Guy I did what the New Guy always does, I wrote a
utility to convert a file from the old system to the new system by reading
it one character at a time and when it reached X0D0A WRITE an OUTREC and
start all over again. Folks mocked it as a 'dog', pointed and laughed and
then asked 'just for curiousity's sake' if I could give them a listing.

Soon enough Corner Cubicle Guy declared 'his' utility (an obvious
plagiarism) was a site standard and me, I found another place to work.

DD

Re: Cann OpenCobol handle Databases by default?

<uitsks$n3$2@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=518&group=comp.lang.cobol#518

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix1.panix.com!not-for-mail
From: docdwarf@panix.com
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 19:15:40 -0000 (UTC)
Organization: Public Access Networks Corp.
Message-ID: <uitsks$n3$2@reader2.panix.com>
References: <uiikdb$19pe8$3@solani.org> <uit0h2$1erva$4@solani.org> <krenqgFisnuU2@mid.individual.net> <uitd67$1f5jp$5@solani.org>
Injection-Date: Mon, 13 Nov 2023 19:15:40 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix1.panix.com:166.84.1.1";
logging-data="739"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Mon, 13 Nov 2023 19:15 UTC

In article <uitd67$1f5jp$5@solani.org>, F. W. <me@home.invalid> wrote:
>Am 13.11.2023 um 14:49 schrieb bill:

[snip]

>> 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?

Only in the way that ASCII graphics are graphics.

DD

Re: Cann OpenCobol handle Databases by default?

<1699906504@f1.n250.z2.fidonet.ftn>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=519&group=comp.lang.cobol#519

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: VBCoen@gmail.com (Vincent Coen)
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Mon, 13 Nov 2023 20:15:04 +0000
Organization: A noiseless patient Spider
Lines: 60
Sender: "Vincent Coen" <VBCoen@gmail.com>
Message-ID: <1699906504@f1.n250.z2.fidonet.ftn>
References: <uiikdb$19pe8$3@solani.org> <1699555409@f1.n250.z2.fidonet.ftn> <uit0h2$1erva$4@solani.org> <krenqgFisnuU2@mid.individual.net> <uitd67$1f5jp$5@solani.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="3b46d045d8d91e24484a338a89d884ec";
logging-data="937193"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194Qs/r9ZUVMqPays07Tif/"
Cancel-Lock: sha1:EyWlFvPThhcOnI1zOBFoEsSorF8=
X-Comment-To: "F. W." <me@home.invalid>
X-FTN-AREA: COMP.LANG.COBOL
X-Newsreader: GoldED+/LNX 1.1.5 (Linux 5.15.126-server-1.mga8 CPU UNKNOWN)
X-FTN-MSGID: 2:250/1@fidonet 65528572
X-FTN-PID: GED+LNX 1.1.5-b20180707
X-FTN-PATH: 250/1
X-FTN-TID: MBSE-FIDO 1.0.8.4 (Linux-x86_64)
X-FTN-CHRS: UTF-8 2
X-FTN-TZUTC: 0000
REPLY: solani.org ef8d172a
X-FTN-SEEN-BY: 25/0 21 250/0 1 2 4 5 6 8 13 14 15 263/0 362/6 371/52 467/4 712/1321
X-Origin-Newsgroups: comp.lang.cobol
X-FTN-Sender: Vincent Coen <Vincent.Coen@f1.n250.z2.fidonet.org>
 by: Vincent Coen - Mon, 13 Nov 2023 20:15 UTC

Hello F!

Monday November 13 2023 14:51, F. W. wrote to All:

> 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?

Screen section will only do BLOCKED.
That means very basic stuff, take a look in the contribs section at the
gnucobol site and download it.
Then look at tools/TUI-TOOLS for a good set of example programs.

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.

The FAQs have some examples for there products that you can try out.

The only other option is to use the web facilities to hook into using as a
frontend a web browser but again it will take some learning.

Good luck :)

Vincent

Re: Cann OpenCobol handle Databases by default?

<uiujdp$1p9$1@reader2.panix.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=520&group=comp.lang.cobol#520

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix1.panix.com!not-for-mail
From: docdwarf@panix.com
Newsgroups: comp.lang.cobol
Subject: Re: Cann OpenCobol handle Databases by default?
Date: Tue, 14 Nov 2023 01:44:25 -0000 (UTC)
Organization: Public Access Networks Corp.
Message-ID: <uiujdp$1p9$1@reader2.panix.com>
References: <uiikdb$19pe8$3@solani.org> <krenqgFisnuU2@mid.individual.net> <uitd67$1f5jp$5@solani.org> <1699906504@f1.n250.z2.fidonet.ftn>
Injection-Date: Tue, 14 Nov 2023 01:44:25 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix1.panix.com:166.84.1.1";
logging-data="1833"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Tue, 14 Nov 2023 01:44 UTC

In article <1699906504@f1.n250.z2.fidonet.ftn>,
Vincent Coen <VBCoen@gmail.com> wrote:
>Hello F!
>
>Monday November 13 2023 14:51, F. W. wrote to All:

[snip]

> > What about SCREEN SECTION? This can not be used for GUIs?

[snip]

>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.

'(A) learning curve', Mr Coen? I'd say that most folks posting and
reading here have a bit of time and patience... but what do I know?

(... and now I hear a voice from long ago, bellowing at a newly-shorn
recruit 'You think you know more'n me, AIR-man? I've forgotten more than
you'll ever learn... BACK straight, SHOULders square, HEEL beat, HARCH!')

DD

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor