Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

In every non-trivial program there is at least one bug.


computers / comp.os.vms / LMF Licence Generator Code

SubjectAuthor
* LMF Licence Generator CodeLawrence D’Oliveiro
+* Re: LMF Licence Generator CodeE Thump
|`* Re: LMF Licence Generator CodeDavid Sweeney
| +* Re: LMF Licence Generator Codejimc...@gmail.com
| |+- Re: LMF Licence Generator CodePhillip Helbig (undress to reply
| |`* Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CodeSimon Clubley
| | +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | |+- Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | |+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CPhillip Helbig (undress to reply
| | ||+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBob Eager
| | |||+- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | |||+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | ||||`- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | |||`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CVAXman-
| | ||| +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | ||| |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||| | `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | ||| |  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||| |   +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   |+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |   ||`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| |   || | +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || | |`- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||| |   || | `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJoukj
| | ||| |   || |  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| |   || |   `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJoukj
| | ||| |   || +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |   || |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || | `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |   || |  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || |   `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJohn Dallman
| | ||| |   || |    +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || |    |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| |   || |    | `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || |    |  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| |   || |    |   `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   || |    `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |   || |     `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceOswald Knoppers
| | ||| |   || `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CPhillip Helbig (undress to reply
| | ||| |   ||  +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| |   ||  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||| |   ||   `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceChris Townley
| | ||| |   ||    +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| |   ||    +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   ||    `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||| |   |`- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||| |   +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | ||| |   |+- Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencechris
| | ||| |   |`- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||| |   `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CPhillip Helbig (undress to reply
| | ||| |    +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |    |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJan-Erik Söderholm
| | ||| |    | `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |    |  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJan-Erik Söderholm
| | ||| |    |   +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |    |   |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceChris Townley
| | ||| |    |   | `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |    |   `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CPhil Howell
| | ||| |    `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CVAXman-
| | ||+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | |||`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | ||| +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| | +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||| | `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceGary Sparkes
| | ||| |  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencegah4
| | ||| |   `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBob Eager
| | ||| |    `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licencegah4
| | ||| |     `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBob Eager
| | ||| +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||| `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJoukj
| | |||  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceLawrence D’Oliveiro
| | |||   `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceGary Sparkes
| | |||    +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJan-Erik Söderholm
| | |||    `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDavid Wade
| | |||     +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceChris Townley
| | |||     |`- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | |||     `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBob Eager
| | ||+- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CPhillip Helbig (undress to reply
| | || +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBob Eager
| | || |`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | || | `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBob Eager
| | || `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||  +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJoukj
| | ||  `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CPhillip Helbig (undress to reply
| | ||   `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJoukj
| | |+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | |||+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||||+- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | ||||`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | |||| +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | |||| `* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceDave Froble
| | ||||  +- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||||  `- Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceJoukj
| | |||+* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceBill Gunshannon
| | ||||`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF LicenceArne Vajhøj
| | |||`* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CSimon Clubley
| | ||`* Re: Any stronger versions of the LMF planned ?,<kemain.nospam
| | |`- Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CVAXman-
| | +* Re: Any stronger versions of the LMF planned ?, was: Re: LMF Licence Generator CStephen Hoffman
| | `- Re: Any stronger versions of the LMF planned ?,<kemain.nospam
| `- Re: LMF Licence Generator CodeBob Eager
+* Re: LMF Licence Generator CodeLawrence D’Oliveiro
+- Re: LMF Licence Generator CodeLawrence D’Oliveiro
+* Re: LMF Licence Generator CodePoBe
`- Re: LMF Licence Generator CodeEl SysMan

Pages:123456789
Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<si20q5$fb6$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17019&group=comp.os.vms#17019

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: 17 Sep 2021 12:13:57 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 28
Message-ID: <si20q5$fb6$1@panix2.panix.com>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org> <4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="11789"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Fri, 17 Sep 2021 12:13 UTC

=?UTF-8?Q?Lawrence_D=E2=80=99Oliveiro?= <lawrencedo99@gmail.com> wrote:
>On Friday, August 20, 2021 at 1:31:54 PM UTC+12, Arne Vajh=C3=B8j wrote:
>
>> Fixed length strings are not a problem.=20
>
>I laugh at your pathetic fixed-length buffers.
>
>> Strings with no concept of length are a problem.=20

COBOL isn't a programming language. COBOL is a data description language that
has some programming features on the side. If you look at a well-written
typical COBOL program, the procedure division is a very small part of the total
length.

Silly arguments like this occur when people think of COBOL as a programming
language, and complain that it's not a good programming language. That's
not what it is at all. That's like complaining a tomato isn't good for ice
cream.

And yes, null-terminated strings are a disaster, I think we can all agree on
that. They are now available in many implementations of COBOL too, which I
think is a mistake.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: LMF Licence Generator Code

<5e671be1-ff1f-47c4-a197-7a37240af293n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17051&group=comp.os.vms#17051

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ae9:ed82:: with SMTP id c124mr10763181qkg.275.1632209441408;
Tue, 21 Sep 2021 00:30:41 -0700 (PDT)
X-Received: by 2002:a05:6214:4ea:: with SMTP id cl10mr14580314qvb.58.1632209441239;
Tue, 21 Sep 2021 00:30:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 21 Sep 2021 00:30:41 -0700 (PDT)
In-Reply-To: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=37.123.157.199; posting-account=xv9v3AoAAAABQj7td0_AwZp67hjQU7nQ
NNTP-Posting-Host: 37.123.157.199
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5e671be1-ff1f-47c4-a197-7a37240af293n@googlegroups.com>
Subject: Re: LMF Licence Generator Code
From: par.olov...@gmail.com (PoBe)
Injection-Date: Tue, 21 Sep 2021 07:30:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 40
 by: PoBe - Tue, 21 Sep 2021 07:30 UTC

torsdag 5 augusti 2021 kl. 06:55:23 UTC+2 skrev Lawrence D’Oliveiro:
> I had a look at the original pakgen.c source from mirrors.pdp-11.ru. I get the impression somebody disassembled a bunch of VAX machine language, then did a straight transliteration into C code.
>
> So I thought I would clean it up a bit. And I managed to knock its size down by a couple hundred lines. I also wrote a Python version, which is less than half the size of the original, and also add a few features. For example, I was able to add the HARDWARE_ID, TOKEN and VERSION atttributes by guessing at their codes. So far I haven’t been able to figure out the RELEASE_DATE and TERMINATION_DATE attributes, most likely because I can’t get the right date-encoding format.

I think you are right, it easy to assume that the attributes are treated as pure ASCII strings i.e. "dd-MMM-yyyy" but I do not think that is the case.
If you you try to register a license like "license register BRYSK /release_date=14-APR-1996 /checksum=2-BFMB-KYKE-CPRA-ALRT" is say
"checksum is does not validate" but if you try to register it as "license register BRYSK /release_date=xxxxxxxx /checksum=2-BFMB-KYKE-CPRA-ALRT"
is says "invalid absolute time - use DD-MMM-YYYY:HH:MM:SS.CC format" so there is reasons to believe that the time string is converted to a internal time.
The actual "invalid absolute time..." error message looks like it is derived from the lexical (!) function f$cvtime.

Also the notorious LMFGEN program takes the date arguments as "dd.mm.yyyy" according to the HELP documentation, but that is incorrect. The correct input should be "yyyy.mm.dd".
So a far out guess; the time is converted to numeric time elements (e.g $numtim) like yyyy,mm and dd. These are concatenated/summed up in some way and then CRC:ed as another license attribute.
But the error message could also be the result of an initial time string syntax check and the time value could be whatever. Good luck :-)

why did the people that created the pakgen.c did not do VERSION and RELEASE_DATE etc?
They put in a fair effort to crack everything (hard) so doing VERSION etc. must have been right at their fingers.

Re: LMF Licence Generator Code

<336e8b4d-3fc4-4d0a-843d-72958611ffa4n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17081&group=comp.os.vms#17081

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:1090:: with SMTP id a16mr2440789qtj.297.1632298281680;
Wed, 22 Sep 2021 01:11:21 -0700 (PDT)
X-Received: by 2002:a05:622a:612:: with SMTP id z18mr32405976qta.330.1632298281559;
Wed, 22 Sep 2021 01:11:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 22 Sep 2021 01:11:21 -0700 (PDT)
In-Reply-To: <5e671be1-ff1f-47c4-a197-7a37240af293n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <5e671be1-ff1f-47c4-a197-7a37240af293n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <336e8b4d-3fc4-4d0a-843d-72958611ffa4n@googlegroups.com>
Subject: Re: LMF Licence Generator Code
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Wed, 22 Sep 2021 08:11:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 22
 by: Lawrence D’Oliveir - Wed, 22 Sep 2021 08:11 UTC

On Tuesday, September 21, 2021 at 7:30:42 PM UTC+12, PoBe wrote:
> So a far out guess; the time is converted to numeric time elements (e.g $numtim)
> like yyyy,mm and dd. These are concatenated/summed up in some way and then
> CRC:ed as another license attribute.
> But the error message could also be the result of an initial time string syntax check
> and the time value could be whatever. Good luck :-)

Thanks for the thoughts. Not to mention that I could have been making an off-by-one error in counting the days in my experiments. Too many variables, when all the LMFGEN oracle will tell me is “yes” or “no”. ;)

> why did the people that created the pakgen.c did not do VERSION and RELEASE_DATE etc?
> They put in a fair effort to crack everything (hard) so doing VERSION etc.. must have
> been right at their fingers.

My guess is they felt no need for time-limited or machine-limited licences. Myself, I am only trying to put these in for completeness. ;)

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17082&group=comp.os.vms#17082

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:1090:: with SMTP id a16mr2453091qtj.297.1632298521663;
Wed, 22 Sep 2021 01:15:21 -0700 (PDT)
X-Received: by 2002:ac8:5955:: with SMTP id 21mr32443619qtz.118.1632298521534;
Wed, 22 Sep 2021 01:15:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 22 Sep 2021 01:15:21 -0700 (PDT)
In-Reply-To: <si20q5$fb6$1@panix2.panix.com>
Injection-Info: google-groups.googlegroups.com; posting-host=118.93.180.215; posting-account=Rx7iEQoAAACMdczcZGHsDFakQWn8-8-t
NNTP-Posting-Host: 118.93.180.215
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Wed, 22 Sep 2021 08:15:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: Lawrence D’Oliveir - Wed, 22 Sep 2021 08:15 UTC

On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey wrote:
> COBOL isn't a programming language. COBOL is a data description language
> that has some programming features on the side. If you look at a well-written
> typical COBOL program, the procedure division is a very small part of the total
> length.

The specific question being considered here is interfacing from COBOL to SQL. COBOL was born back in the era of ISAM files, and never really adapted to the widespread adoption of SQL and relational databases. This in spite of the fact that COBOL was supposed to be a “business-oriented” language, and SQL has become rather essential to just about every kind of “business” need since the 1980s.

And yes, SQL is very much a “programming language”, whether or not you think COBOL is one.

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sietii$qmo$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17087&group=comp.os.vms#17087

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 11:38:24 +0200
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <sietii$qmo$2@dont-email.me>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Sep 2021 09:38:26 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3ae8cbea29729bf50f342325c405b072";
logging-data="27352"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nLi0JhWMOchbOR1S+SGPB"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Cancel-Lock: sha1:YAgCm5evFIrNRR8u6IbT60RAJjo=
In-Reply-To: <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
Content-Language: sv
 by: Jan-Erik Söderholm - Wed, 22 Sep 2021 09:38 UTC

Den 2021-09-22 kl. 10:15, skrev Lawrence D’Oliveiro:
> On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey wrote:
>> COBOL isn't a programming language. COBOL is a data description language
>> that has some programming features on the side. If you look at a well-written
>> typical COBOL program, the procedure division is a very small part of the total
>> length.
>

I think that Scott tried to make a joke there. It very much depends
on the actual application, of course, what the ratio between data
definition and procedure code is.

> The specific question being considered here is interfacing from COBOL to SQL.

VMS Cobol has the same "embedded SQL" support just as any other compiled
VMS language such C, Fortran, Basic. No difference at all.

And VMS Cobol can of course call SQLMOD routines and functions just as
any other VMS compiled language that follows the VMS Calling Standard.

So there is nothing special about "interfacing from COBOL to SQL"
that makes it stand out compared to other (compiled) languages.

If you compare with scripting languages (Python and such) there is an
differnce in that the SQL has to be compiled at runtime. A bit less
efficient then having the SQL compilation done at compile time.

> COBOL was born back in the era of ISAM files, and never really adapted to
> the widespread adoption of SQL and relational databases.

That is a complete BS, of course. As anyone really understanding
these matters understand.

> This in spite of the fact that COBOL was supposed to be a “business-oriented”
> language, and SQL has become rather essential to just about every kind of
> “business” need since the 1980s.

Yes. So? So IBM System/z Cobol code can't use DB2?

>
> And yes, SQL is very much a “programming language”, whether or not you
> think COBOL is one.
>

True. An in particular if you are into SQLMOD programming, where the
complete sorce code is just pure SQL.

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sif4ur$1q6j$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17090&group=comp.os.vms#17090

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!8wRtIOAx5Sobz1NdO9adsA.user.46.165.242.75.POSTED!not-for-mail
From: hel...@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)
Date: Wed, 22 Sep 2021 11:44:27 -0000 (UTC)
Organization: Multivax C&R
Message-ID: <sif4ur$1q6j$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org> <4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com> <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com> <sietii$qmo$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="59603"; posting-host="8wRtIOAx5Sobz1NdO9adsA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phillip Helbig (undr - Wed, 22 Sep 2021 11:44 UTC

In article <sietii$qmo$2@dont-email.me>,
=?UTF-8?Q?Jan-Erik_S=c3=b6derholm?= <jan-erik.soderholm@telia.com>
writes:

> Den 2021-09-22 kl. 10:15, skrev Lawrence D’Oliveiro:
> > On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey wrote:
> >> COBOL isn't a programming language. COBOL is a data description language
> >> that has some programming features on the side. If you look at a well-written
> >> typical COBOL program, the procedure division is a very small part of the total
> >> length.
> >
>
> I think that Scott tried to make a joke there. It very much depends
> on the actual application, of course, what the ratio between data
> definition and procedure code is.

Indeed. There is a huge amount of code using COBOL and SQL (much of it
with Rdb).

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sif5uc$oms$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17092&group=comp.os.vms#17092

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: 22 Sep 2021 12:01:16 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 29
Message-ID: <sif5uc$oms$1@panix2.panix.com>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com> <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="10755"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Wed, 22 Sep 2021 12:01 UTC

=?UTF-8?Q?Lawrence_D=E2=80=99Oliveiro?= <lawrencedo99@gmail.com> wrote:
>On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey wrote:
>> COBOL isn't a programming language. COBOL is a data description language
>> that has some programming features on the side. If you look at a well-wri=
>tten=20
>> typical COBOL program, the procedure division is a very small part of the=
> total=20
>> length.=20
>
>The specific question being considered here is interfacing from COBOL to SQ=
>L. COBOL was born back in the era of ISAM files, and never really adapted t=
>o the widespread adoption of SQL and relational databases. This in spite of=
> the fact that COBOL was supposed to be a =E2=80=9Cbusiness-oriented=E2=80=
>=9D language, and SQL has become rather essential to just about every kind =
>of =E2=80=9Cbusiness=E2=80=9D need since the 1980s.

In the IBM/360 world, SQL code can be embedded within COBOL programs using
EXEC-SQL. There's no "interface" per se, they are all mixed up together.

If VMS does not allow this, it's a thing that should probably be added
because IBM has had it for many decades and it's very convenient.

>And yes, SQL is very much a =E2=80=9Cprogramming language=E2=80=9D, whether=
> or not you think COBOL is one.

Yes, although it's certainly not a general purpose one.
--scott
--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sif638$afr$1@panix2.panix.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17093&group=comp.os.vms#17093

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix2.panix.com!panix2.panix.com!not-for-mail
From: klu...@panix.com (Scott Dorsey)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: 22 Sep 2021 12:03:52 -0000
Organization: Former users of Netcom shell (1989-2000)
Lines: 22
Message-ID: <sif638$afr$1@panix2.panix.com>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com> <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com> <sietii$qmo$2@dont-email.me>
Injection-Info: reader1.panix.com; posting-host="panix2.panix.com:166.84.1.2";
logging-data="1484"; mail-complaints-to="abuse@panix.com"
 by: Scott Dorsey - Wed, 22 Sep 2021 12:03 UTC

=?UTF-8?Q?Jan-Erik_S=c3=b6derholm?= <jan-erik.soderholm@telia.com> wrote:
>Den 2021-09-22 kl. 10:15, skrev Lawrence D’Oliveiro:
>> On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey wrote:
>>> COBOL isn't a programming language. COBOL is a data description language
>>> that has some programming features on the side. If you look at a well-written
>>> typical COBOL program, the procedure division is a very small part of the total
>>> length.
>>
>
>I think that Scott tried to make a joke there. It very much depends
>on the actual application, of course, what the ratio between data
>definition and procedure code is.

Slightly, but there is an important grain of truth in there. People need
to get their head around it because if they come from the C/fortran/perl/python
world where programs are just procedures, they will find the COBOL/RPG world
where the procedure is only a minor part of the program to be incomprehensible.
COBOL is for moving data around.
--scott

--
"C'est un Nagra. C'est suisse, et tres, tres precis."

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sif6i8$ia8$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17095&group=comp.os.vms#17095

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)
Date: Wed, 22 Sep 2021 12:11:52 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <sif6i8$ia8$2@dont-email.me>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org> <4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com> <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com> <sietii$qmo$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Sep 2021 12:11:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6c760b00ac4a9e7ae3384a58874c8a6d";
logging-data="18760"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+tXOHLA1ZyX51gvMdTp2rfxFcPBFFNHcU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:aT0Fz3Dn4H7hpIpRy6JjWFXScoM=
 by: Simon Clubley - Wed, 22 Sep 2021 12:11 UTC

On 2021-09-22, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
> Den 2021-09-22 kl. 10:15, skrev Lawrence D?Oliveiro:
>> COBOL was born back in the era of ISAM files, and never really adapted to
>> the widespread adoption of SQL and relational databases.
>
> That is a complete BS, of course. As anyone really understanding
> these matters understand.
>

Lawrence seems to like COBOL about as much as Phillip likes Linux
and non-DEC keyboards. :-)

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sif841$1b6j$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17098&group=comp.os.vms#17098

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 08:38:23 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sif841$1b6j$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="44243"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 22 Sep 2021 12:38 UTC

On 9/22/2021 4:15 AM, Lawrence D’Oliveiro wrote:
> On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey
> wrote:
>> COBOL isn't a programming language. COBOL is a data description
>> language that has some programming features on the side. If you
>> look at a well-written typical COBOL program, the procedure
>> division is a very small part of the total length.
>
> The specific question being considered here is interfacing from COBOL
> to SQL. COBOL was born back in the era of ISAM files, and never
> really adapted to the widespread adoption of SQL and relational
> databases. This in spite of the fact that COBOL was supposed to be a
> “business-oriented” language, and SQL has become rather essential to
> just about every kind of “business” need since the 1980s.

That does not really match reality.

SQL is very much used in Cobol.

Cobol and embedded SQL to either Oracle Rdb or Oracle DB
(Oracle Classic in traditional VMS terminology) may very well
be the most widely used RDBMS and programming language combination
on VMS.

Arne

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sif8pf$1lgb$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17100&group=comp.os.vms#17100

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 08:49:49 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sif8pf$1lgb$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="54795"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 22 Sep 2021 12:49 UTC

On 9/22/2021 5:38 AM, Jan-Erik Söderholm wrote:
>> The specific question being considered here is interfacing from COBOL
>> to SQL.
>
> VMS Cobol has the same "embedded SQL" support just as any other compiled
> VMS language such C, Fortran, Basic. No difference at all.
>
> And VMS Cobol can of course call SQLMOD routines and functions just as
> any other VMS compiled language that follows the VMS Calling Standard.
>
> So there is nothing special about "interfacing from COBOL to SQL"
> that makes it stand out compared to other (compiled) languages.
>
> If you compare with scripting languages (Python and such) there is an
> differnce in that the SQL has to be compiled at runtime. A bit less
> efficient then having the SQL compilation done at compile time.

VMS Cobol and Rdb are very well covered with embedded SQL
and SQLMOD.

Other databases are not as well covered. SQLMOD is Rdb specific. And
the number of supported combinations of languages and databases
for embedded SQL is not that big compared to what is out there.

But that is not an indication that embedded SQL would not work
for those combinations. It just reflects that the IT world
in general has moved from embedded SQL towards database
independent call API's and ORM's. And people live with the
overhead (I don't think that the overhead of a call API is
significant, but with ORM a lot happens under the hood).

Arne

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sif97m$1rn5$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17101&group=comp.os.vms#17101

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 08:57:24 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sif97m$1rn5$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sif5uc$oms$1@panix2.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="61157"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 22 Sep 2021 12:57 UTC

On 9/22/2021 8:01 AM, Scott Dorsey wrote:
> =?UTF-8?Q?Lawrence_D=E2=80=99Oliveiro?= <lawrencedo99@gmail.com> wrote:
>> On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey wrote:
>>> COBOL isn't a programming language. COBOL is a data description language
>>> that has some programming features on the side. If you look at a well-written
>>> typical COBOL program, the procedure division is a very small part of thetotal
>>> length.
>>
>> The specific question being considered here is interfacing from COBOL to SQL.
>> COBOL was born back in the era of ISAM files, and never really adapted to the
>> widespread adoption of SQL and relational databases. This in spite of the
>> fact that COBOL was supposed to be a =E2=80=9Cbusiness-oriented=E2=80=
>> =9D language, and SQL has become rather essential to just about every kind
>> of =E2=80=9Cbusiness=E2=80=9D need since the 1980s.
>
> In the IBM/360 world, SQL code can be embedded within COBOL programs using
> EXEC-SQL. There's no "interface" per se, they are all mixed up together.
>
> If VMS does not allow this, it's a thing that should probably be added
> because IBM has had it for many decades and it's very convenient.

It is worth noting that embedded SQL is database specific.

IBM supports embedded SQL for DB2.

Oracle supports embedded SQL for Oracle DB.

On VMS there is support for embedded SQL by at least:
- Rdb
- Oracle DB (Oracle Classic) [pending Oracle drop of any support]
- Mimer

And it is also language specific. Rdb has support for all the
traditional VMS languages, but many embedded SQL only supports
Cobol and C.

Arne

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sife3u$9nj$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17108&group=comp.os.vms#17108

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!8wRtIOAx5Sobz1NdO9adsA.user.46.165.242.75.POSTED!not-for-mail
From: hel...@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)
Date: Wed, 22 Sep 2021 14:20:46 -0000 (UTC)
Organization: Multivax C&R
Message-ID: <sife3u$9nj$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org> <4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com> <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com> <sif841$1b6j$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="9971"; posting-host="8wRtIOAx5Sobz1NdO9adsA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phillip Helbig (undr - Wed, 22 Sep 2021 14:20 UTC

In article <sif841$1b6j$1@gioia.aioe.org>, =?UTF-8?Q?Arne_Vajh=c3=b8j?=
<arne@vajhoej.dk> writes:

> That does not really match reality.
>
> SQL is very much used in Cobol.
>
> Cobol and embedded SQL to either Oracle Rdb or Oracle DB
> (Oracle Classic in traditional VMS terminology) may very well
> be the most widely used RDBMS and programming language combination
> on VMS.

It is probably also the combination which generates the most profit for
those running such applications, and those are some of the biggest VMS
customers.

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifhg3$4hb$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17111&group=comp.os.vms#17111

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 11:18:25 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sifhg3$4hb$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif8pf$1lgb$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="4651"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 22 Sep 2021 15:18 UTC

On 9/22/2021 8:49 AM, Arne Vajhøj wrote:
> On 9/22/2021 5:38 AM, Jan-Erik Söderholm wrote:
>>> The specific question being considered here is interfacing from COBOL
>>> to SQL.
>>
>> VMS Cobol has the same "embedded SQL" support just as any other compiled
>> VMS language such C, Fortran, Basic. No difference at all.
>>
>> And VMS Cobol can of course call SQLMOD routines and functions just as
>> any other VMS compiled language that follows the VMS Calling Standard.
>>
>> So there is nothing special about "interfacing from COBOL to SQL"
>> that makes it stand out compared to other (compiled) languages.
>>
>> If you compare with scripting languages (Python and such) there is an
>> differnce in that the SQL has to be compiled at runtime. A bit less
>> efficient then having the SQL compilation done at compile time.
>
> VMS Cobol and Rdb are very well covered with embedded SQL
> and SQLMOD.
>
> Other databases are not as well covered. SQLMOD is Rdb specific. And
> the number of supported combinations of languages and databases
> for embedded SQL is not that big compared to what is out there.
>
> But that is not an indication that embedded SQL would not work
> for those combinations. It just reflects that the IT world
> in general has moved from embedded SQL towards database
> independent call API's and ORM's. And people live with the
> overhead (I don't think that the overhead of a call API is
> significant, but with ORM a lot happens under the hood).

https://www.vajhoej.dk/arne/articles/vmsdb.html

has examples of how to access Rdb/MySQL/SQLite/Mimer on
VMS from C/Pascal/Fortran/Cobol/Java/C#/Python/PHP on
VMS/Windows/*nix (for the subset of possible combinations).

Arne

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifjc8$gh5$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17114&group=comp.os.vms#17114

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 11:48:41 -0400
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <sifjc8$gh5$2@dont-email.me>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif6i8$ia8$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Sep 2021 15:50:32 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="357520f68e0c5ae9cbcf58c098d199b9";
logging-data="16933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18+UxKHj/L7w4bTw+Fh6g4I/FcXAUb4f00="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:CDgg1aMVnjoW5xeDBCSzRMswcwA=
In-Reply-To: <sif6i8$ia8$2@dont-email.me>
 by: Dave Froble - Wed, 22 Sep 2021 15:48 UTC

On 9/22/2021 8:11 AM, Simon Clubley wrote:
> On 2021-09-22, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>> Den 2021-09-22 kl. 10:15, skrev Lawrence D?Oliveiro:
>>> COBOL was born back in the era of ISAM files, and never really adapted to
>>> the widespread adoption of SQL and relational databases.
>>
>> That is a complete BS, of course. As anyone really understanding
>> these matters understand.
>>
>
> Lawrence seems to like COBOL about as much as Phillip likes Linux
> and non-DEC keyboards. :-)
>
> Simon.
>

I'm not a fan of Cobol, mostly because of all the required typing. So
verbose. But once done, it does a decent job.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifjfv$gh5$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17115&group=comp.os.vms#17115

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 11:50:40 -0400
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <sifjfv$gh5$3@dont-email.me>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif8pf$1lgb$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Sep 2021 15:52:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="357520f68e0c5ae9cbcf58c098d199b9";
logging-data="16933"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+BDhJybjCwPHUGeAUjtd/xh0oe+XGzS2M="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:1P8DWSzgj5M7mMCTd5hPRFb0XhU=
In-Reply-To: <sif8pf$1lgb$1@gioia.aioe.org>
 by: Dave Froble - Wed, 22 Sep 2021 15:50 UTC

On 9/22/2021 8:49 AM, Arne Vajhøj wrote:
> And people live with the
> overhead (I don't think that the overhead of a call API is
> significant, but with ORM a lot happens under the hood).

As with so much today, the work is not decreased, it is just hidden.

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<ir14o1F9m79U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17120&group=comp.os.vms#17120

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 12:42:41 -0400
Lines: 28
Message-ID: <ir14o1F9m79U1@mid.individual.net>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif4ur$1q6j$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net qCtZMrEVeKgWrsKvdLClZA2EiCa8HQPLO69R/ImFcW8eK1nXpj
Cancel-Lock: sha1:dF8GGeN5ELQG97mos4ZSWf5pJfc=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <sif4ur$1q6j$1@gioia.aioe.org>
Content-Language: en-US
 by: Bill Gunshannon - Wed, 22 Sep 2021 16:42 UTC

On 9/22/21 7:44 AM, Phillip Helbig (undress to reply) wrote:
> In article <sietii$qmo$2@dont-email.me>,
> =?UTF-8?Q?Jan-Erik_S=c3=b6derholm?= <jan-erik.soderholm@telia.com>
> writes:
>
>> Den 2021-09-22 kl. 10:15, skrev Lawrence D’Oliveiro:
>>> On Saturday, September 18, 2021 at 12:14:00 AM UTC+12, Scott Dorsey wrote:
>>>> COBOL isn't a programming language. COBOL is a data description language
>>>> that has some programming features on the side. If you look at a well-written
>>>> typical COBOL program, the procedure division is a very small part of the total
>>>> length.
>>>
>>
>> I think that Scott tried to make a joke there. It very much depends
>> on the actual application, of course, what the ratio between data
>> definition and procedure code is.
>
> Indeed. There is a huge amount of code using COBOL and SQL (much of it
> with Rdb).
>

I was doing COBOL with database access (I won't say SQL, it was
different originally) using DMS-11 on a Univac 1100 back in 1980.
It has advanced considerably since then. GnuCOBOL and OCESQL even
let you do it for free if you want to learn how it works.

bill

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifo16$1i4c$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17121&group=comp.os.vms#17121

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 13:09:56 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sifo16$1i4c$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif8pf$1lgb$1@gioia.aioe.org>
<sifjfv$gh5$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="51340"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 22 Sep 2021 17:09 UTC

On 9/22/2021 11:50 AM, Dave Froble wrote:
> On 9/22/2021 8:49 AM, Arne Vajhøj wrote:
>>  And people live with the
>> overhead (I don't think that the overhead of a call API is
>> significant, but with ORM a lot happens under the hood).
>
> As with so much today, the work is not decreased, it is just hidden.

The business application developer need to write much less code,
but a lot of things may happen inside the frameworks used.

For ORM frameworks it is common if lazy loading is
specified to generate a sub class of the developer
provided class on the fly.

Arne

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifp14$rbo$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17125&group=comp.os.vms#17125

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)
Date: Wed, 22 Sep 2021 17:27:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <sifp14$rbo$2@dont-email.me>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org> <4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com> <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com> <sietii$qmo$2@dont-email.me> <sif6i8$ia8$2@dont-email.me> <sifjc8$gh5$2@dont-email.me>
Injection-Date: Wed, 22 Sep 2021 17:27:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6c760b00ac4a9e7ae3384a58874c8a6d";
logging-data="28024"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3feq3ecZt6k64CAMIWoEBFb7YwgLI1uU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:P/3i12oJx67gBumlLC8SQL+V8OI=
 by: Simon Clubley - Wed, 22 Sep 2021 17:27 UTC

On 2021-09-22, Dave Froble <davef@tsoft-inc.com> wrote:
>
> I'm not a fan of Cobol, mostly because of all the required typing. So
> verbose. But once done, it does a decent job.
>

You write the code once, but read it many times.

Code should be written to be readable, not to save you a bit of
typing time.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<ir17brFaaofU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17126&group=comp.os.vms#17126

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 13:27:22 -0400
Lines: 29
Message-ID: <ir17brFaaofU1@mid.individual.net>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif8pf$1lgb$1@gioia.aioe.org>
<sifjfv$gh5$3@dont-email.me> <sifo16$1i4c$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net e9Frn+/hTyk1uxt23yOJjg+MLBErq1wv0k0xsBtAtD8NZI/dfr
Cancel-Lock: sha1:N4Ku1QsNBRpg7UUpY/OJ+qrW5B4=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <sifo16$1i4c$1@gioia.aioe.org>
Content-Language: en-US
 by: Bill Gunshannon - Wed, 22 Sep 2021 17:27 UTC

On 9/22/21 1:09 PM, Arne Vajhøj wrote:
> On 9/22/2021 11:50 AM, Dave Froble wrote:
>> On 9/22/2021 8:49 AM, Arne Vajhøj wrote:
>>>  And people live with the
>>> overhead (I don't think that the overhead of a call API is
>>> significant, but with ORM a lot happens under the hood).
>>
>> As with so much today, the work is not decreased, it is just hidden.
>
> The business application developer need to write much less code,
> but a lot of things may happen inside the frameworks used.
>

That was tried ages ago, too. There was SCORE, a COBOL generator from
the 80's. It generated unmaintainable COBOL so any modifications had
to be done to the SCORE source code. That was great until you ran into
something that you could not define using SCORE.

The same was true with COBOL generator sold by Tandy in their computer
stores. It generated Ryan-MCFarland COBOL for the compiler they sold.
If you think COBOL written by real programmers is verbose you should
have seen the output from this. Too big to edit in any editor on the
machines it ran on so, same problem. Changes had to be made from the
original source and sometimes you needed to do things it was not able to do.

Nothing beats a real programer working with a real language.

bill

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifqm4$r8f$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17131&group=comp.os.vms#17131

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 13:55:14 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sifqm4$r8f$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif6i8$ia8$2@dont-email.me>
<sifjc8$gh5$2@dont-email.me> <sifp14$rbo$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="27919"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Wed, 22 Sep 2021 17:55 UTC

On 9/22/2021 1:27 PM, Simon Clubley wrote:
> On 2021-09-22, Dave Froble <davef@tsoft-inc.com> wrote:
>> I'm not a fan of Cobol, mostly because of all the required typing. So
>> verbose. But once done, it does a decent job.
>
> You write the code once, but read it many times.
>
> Code should be written to be readable, not to save you a bit of
> typing time.

True.

But readability and verbosity does not always follow.

Some times verbosity help explain what the code does.

But other times verbosity just distracts from what the
code does by forcing the reader to find the relevant
info among a lot of boilerplate stuff.

Arne

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifr77$13mh$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17132&group=comp.os.vms#17132

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 14:04:21 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sifr77$13mh$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me> <sif8pf$1lgb$1@gioia.aioe.org>
<sifjfv$gh5$3@dont-email.me> <sifo16$1i4c$1@gioia.aioe.org>
<ir17brFaaofU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="36561"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Wed, 22 Sep 2021 18:04 UTC

On 9/22/2021 1:27 PM, Bill Gunshannon wrote:
> On 9/22/21 1:09 PM, Arne Vajhøj wrote:
>> On 9/22/2021 11:50 AM, Dave Froble wrote:
>>> On 9/22/2021 8:49 AM, Arne Vajhøj wrote:
>>>>  And people live with the
>>>> overhead (I don't think that the overhead of a call API is
>>>> significant, but with ORM a lot happens under the hood).
>>>
>>> As with so much today, the work is not decreased, it is just hidden.
>>
>> The business application developer need to write much less code,
>> but a lot of things may happen inside the frameworks used.
>
> That was tried ages ago, too.  There was SCORE, a COBOL generator from
> the 80's.  It generated unmaintainable COBOL so any modifications had
> to be done to the SCORE source code.  That was great until you ran into
> something that you could not define using SCORE.
>
> The same was true with COBOL generator sold by Tandy in their computer
> stores.  It generated Ryan-MCFarland COBOL for the compiler they sold.
> If you think COBOL written by real programmers is verbose you should
> have seen the output from this.  Too big to edit in any editor on the
> machines it ran on so, same problem.  Changes had to be made from the
> original source and sometimes you needed to do things it was not able to
> do.
>
> Nothing beats a real programer working with a real language.

That which I would label as "compiling 4GL to 3GL" has a somewhat
mixed history of success and was also mostly dropped just to
pop up again recently as "low code platforms".

But it does not really relate much to what I was describing. I was
talking about libraries that handle a lot of the "how" and let
the developer focus more on the "what". I will claim that the concept
of powerful libraries has proven itself to be a good thing
over the last half century.

Arne

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sifs21$rbo$7@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17135&group=comp.os.vms#17135

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)
Date: Wed, 22 Sep 2021 18:18:41 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <sifs21$rbo$7@dont-email.me>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com> <inb6eaF94b9U1@mid.individual.net> <sf0e0i$1hps$1@gioia.aioe.org> <4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com> <si20q5$fb6$1@panix2.panix.com> <c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com> <sietii$qmo$2@dont-email.me> <sif8pf$1lgb$1@gioia.aioe.org> <sifjfv$gh5$3@dont-email.me> <sifo16$1i4c$1@gioia.aioe.org> <ir17brFaaofU1@mid.individual.net> <sifr77$13mh$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 22 Sep 2021 18:18:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6c760b00ac4a9e7ae3384a58874c8a6d";
logging-data="28024"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/VfHU7G0MkQJPaOU3XbxOOB7uFTf8jbr8="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:iH1KLItD2Ku5tBrnauUzQn4+5gk=
 by: Simon Clubley - Wed, 22 Sep 2021 18:18 UTC

On 2021-09-22, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> That which I would label as "compiling 4GL to 3GL" has a somewhat
> mixed history of success and was also mostly dropped just to
> pop up again recently as "low code platforms".
>

:-)

Anyone else from the UK remember The Last One from the early 1980s
and some of the marketing hype surrounding it ?

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<848375767.654038449.469529.p.g.hardy-btinternet.com@news.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17140&group=comp.os.vms#17140

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: p.g.ha...@btinternet.com (Paul Hardy)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the
LMF planned ?)
Date: Wed, 22 Sep 2021 22:33:45 +0100
Lines: 13
Message-ID: <848375767.654038449.469529.p.g.hardy-btinternet.com@news.individual.net>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<inb6eaF94b9U1@mid.individual.net>
<sf0e0i$1hps$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
<si20q5$fb6$1@panix2.panix.com>
<c5fdc5b6-0fb8-44db-9c13-2b3dae55779fn@googlegroups.com>
<sietii$qmo$2@dont-email.me>
<sif8pf$1lgb$1@gioia.aioe.org>
<sifjfv$gh5$3@dont-email.me>
<sifo16$1i4c$1@gioia.aioe.org>
<ir17brFaaofU1@mid.individual.net>
<sifr77$13mh$1@gioia.aioe.org>
<sifs21$rbo$7@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net NJ1VaPl5Ms04WicPhGvx+QOaCdM+4XAZhaX7Uc7y+cx08oYY7b
Cancel-Lock: sha1:eQ3hX2KmJ24gMWz57qkX1uU1RJM= sha1:aZldprdIqU4CibCj3bQB8J5JMTI=
User-Agent: NewsTap/5.5 (iPad)
 by: Paul Hardy - Wed, 22 Sep 2021 21:33 UTC

Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
> …
>
> Anyone else from the UK remember The Last One from the early 1980s
> and some of the marketing hype surrounding it ?
> Simon.

I do!
And several subsequent efforts at programmerless programming.

--
Paul at the paulhardy.net domain

Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF planned ?)

<sigesm$1cbk$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=17142&group=comp.os.vms#17142

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: COBOL Is Obsolete (was Re: Any stronger versions of the LMF
planned ?)
Date: Wed, 22 Sep 2021 19:40:05 -0400
Organization: Aioe.org NNTP Server
Message-ID: <sigesm$1cbk$1@gioia.aioe.org>
References: <4b8a3bbc-93f1-4704-9178-551003368fd4n@googlegroups.com>
<46474151-50e3-4136-978b-f1bed646b5a0n@googlegroups.com>
<47e66171-ea70-40e4-a71e-44380038e589n@googlegroups.com>
<sekkrc$sis$1@dont-email.me> <seklum$7q3$1@dont-email.me>
<in7atdFfborU1@mid.individual.net> <semvi0$7j3$1@gioia.aioe.org>
<in8gi9Fmr3kU1@mid.individual.net> <sen5m0$e90$1@gioia.aioe.org>
<senfc2$vf6$1@dont-email.me> <inb6eaF94b9U1@mid.individual.net>
<sf0e0i$1hps$1@gioia.aioe.org> <ini6rvFmpjfU1@mid.individual.net>
<sf3k2f$re3$1@gioia.aioe.org> <inl48mFamjhU1@mid.individual.net>
<aa3f7196-c5e1-436e-8cac-7f05881d5678n@googlegroups.com>
<sf4h9a$o5m$1@gioia.aioe.org>
<ea1a7f1d-d092-414c-ae50-69449c8ff414n@googlegroups.com>
<sf9o4j$1kos$1@gioia.aioe.org>
<576397c5-0ac6-4fde-b3dd-927f65bcca55n@googlegroups.com>
<sfjknh$anp$1@gioia.aioe.org>
<064cff29-f2e0-4cfb-93f8-a9b997d596b9n@googlegroups.com>
<sfn0m7$1pac$1@gioia.aioe.org>
<4881669a-5340-45fa-a935-1d7acfa4ce47n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="45428"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.14.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Wed, 22 Sep 2021 23:40 UTC

On 9/16/2021 10:08 PM, Lawrence D’Oliveiro wrote:
> I laugh at your ignorance of dynamic languages like Python. And I’d like to see you stuff something like this
>
> cu.execute \
> (
> "insert into font_features(filename, fileindex, tag) values "
> +
> ", ".join(("(?, ?, ?)",) * len(feature_tags)),
> sum
> (
> (
> (
> fontfilename,
> faceindex,
> HB.UNTAG(tag, True).decode(),
> )
> for tag in feature_tags
> ),
> ()
> )
> )
>
> in your COBOL pipe, and smoke it.
>
> (Taken from <https://github.com/ldo/python_fontconfig_examples/blob/master/collect_opentype_fonts>.)

That program seems to be reading from some files and inserting
some information into a database.

That is a pretty standard task for Cobol. Of course it can be done.

It will undoubtedly require more lines of code. Cobol data
declarations are huge and the executable statements are also
on the verbose side. Typical estimates says Cobol 100 loc/FP
and Python 20 loc/FP, so a guess would be 5 times as many lines.

For the specific case there is also some needed libraries
that will have to be found: scanning dirs, accessing SQLite
and the HarfBuzz stuff.

For the specific task then I don't think Cobol will make
top 20 of language candidates. The only thing Cobol would
be good at for that task is doing the SQL.

Arne


computers / comp.os.vms / LMF Licence Generator Code

Pages:123456789
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor