Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

She sells cshs by the cshore.


devel / comp.lang.cobol / Catching table overflow

SubjectAuthor
* Catching table overflowBruce Axtens
+- Re: Catching table overflowdocdwarf
`* Re: Catching table overflowVincent Coen
 `* Re: Catching table overflowBruce Axtens
  `* Re: Catching table overflowWilliam Fahle
   +- Re: Catching table overflowdocdwarf
   `* Re: Catching table overflowVincent Coen
    `- Re: Catching table overflowdocdwarf

1
Catching table overflow

<c34be416-147f-44c4-a219-652768121e79n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.cobol
X-Received: by 2002:a05:620a:28d2:b0:763:a948:cfc8 with SMTP id l18-20020a05620a28d200b00763a948cfc8mr802975qkp.12.1687335153093;
Wed, 21 Jun 2023 01:12:33 -0700 (PDT)
X-Received: by 2002:a05:6808:2082:b0:3a0:34e6:3183 with SMTP id
s2-20020a056808208200b003a034e63183mr1360532oiw.8.1687335152830; Wed, 21 Jun
2023 01:12:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.cobol
Date: Wed, 21 Jun 2023 01:12:32 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=60.231.231.174; posting-account=1W9SuAoAAAApKJ8N7QNszANYOyWIVzjG
NNTP-Posting-Host: 60.231.231.174
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com>
Subject: Catching table overflow
From: bruce.axtens@gmail.com (Bruce Axtens)
Injection-Date: Wed, 21 Jun 2023 08:12:33 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2003
 by: Bruce Axtens - Wed, 21 Jun 2023 08:12 UTC

Given this bit of free-form code

IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO.

DATA DIVISION.
WORKING-STORAGE SECTION.
01 WS-TABLE.
05 WS-A PIC A(10)
OCCURS 1 TO 5 TIMES
DEPENDING ON D1
INDEXED BY I1.
01 D1 USAGE BINARY-CHAR UNSIGNED.

PROCEDURE DIVISION.
initialize ws-table.
set i1 to 10.
move i1 to d1.
move "thing" to WS-A(i1).
DISPLAY "ONE-D TABLE : "WS-TABLE.
STOP RUN.

This runs without error. Is that what's supposed to happen?

The GnuCOBOL version is

cobc (GnuCOBOL) 3.2-dev.0
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward Hart
Built Jul 07 2022 09:17:27
Packaged Jul 07 2022 08:40:44 UTC
C version (MinGW) "9.2.0"

-Bruce

Re: Catching table overflow

<u6utbn$jte$1@reader2.panix.com>

  copy mid

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

  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: Catching table overflow
Date: Wed, 21 Jun 2023 13:18:47 -0000 (UTC)
Organization: Public Access Networks Corp.
Message-ID: <u6utbn$jte$1@reader2.panix.com>
References: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com>
Injection-Date: Wed, 21 Jun 2023 13:18:47 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix1.panix.com:166.84.1.1";
logging-data="20398"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Wed, 21 Jun 2023 13:18 UTC

In article <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com>,
Bruce Axtens <bruce.axtens@gmail.com> wrote:
>Given this bit of free-form code
>
>IDENTIFICATION DIVISION.
>PROGRAM-ID. HELLO.
>
>DATA DIVISION.
>WORKING-STORAGE SECTION.
>01 WS-TABLE.
> 05 WS-A PIC A(10)
> OCCURS 1 TO 5 TIMES
> DEPENDING ON D1
> INDEXED BY I1.
>01 D1 USAGE BINARY-CHAR UNSIGNED.
>
>PROCEDURE DIVISION.
> initialize ws-table.
> set i1 to 10.
> move i1 to d1.
> move "thing" to WS-A(i1).
> DISPLAY "ONE-D TABLE : "WS-TABLE.
> STOP RUN.
>
>This runs without error. Is that what's supposed to happen?

The table may be full of garbage with a thing in the last entry. Maybe
post the results you get, now, and what happens if you SET i1 TO 10 before
you INITIALIZE.

DD

Re: Catching table overflow

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

  copy mid

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

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: VBCoen@gmail.com (Vincent Coen)
Newsgroups: comp.lang.cobol
Subject: Re: Catching table overflow
Date: Wed, 21 Jun 2023 19:01:54 +0100
Organization: A noiseless patient Spider
Lines: 81
Sender: "Vincent Coen" <VBCoen@gmail.com>
Message-ID: <1687370514@f1.n250.z2.fidonet.ftn>
References: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="24a888a48b35b303b15272d777d3a9ac";
logging-data="3136142"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NkLPBVgobJgJ6LsGi9CGw"
Cancel-Lock: sha1:z3sF54Qv8c4NVvlxwmsNRypARcA=
X-FTN-CHRS: UTF-8 2
X-Origin-Newsgroups: comp.lang.cobol
X-FTN-SEEN-BY: 25/0 250/0 1 2 4 5 6 8 12 13 14 263/0 371/52 467/4 712/1321
X-FTN-MSGID: 2:250/1@fidonet 64933dcb
X-FTN-PATH: 250/1
X-Newsreader: GoldED+/LNX 1.1.5 (Linux 5.15.110-server-2.mga8 CPU UNKNOWN)
X-FTN-PID: GED+LNX 1.1.5-b20180707
X-FTN-TID: MBSE-FIDO 1.0.8.4 (Linux-x86_64)
X-Comment-To: "Bruce Axtens" <bruce.axtens@gmail.com>
REPLY: googlegroups.com 6fd12bcd
X-FTN-AREA: COMP.LANG.COBOL
X-FTN-TZUTC: 0100
X-FTN-Sender: Vincent Coen <Vincent.Coen@f1.n250.z2.fidonet.org>
 by: Vincent Coen - Wed, 21 Jun 2023 18:01 UTC

Hello Bruce!

Wednesday June 21 2023 09:12, Bruce Axtens wrote to All:

> Given this bit of free-form code

> IDENTIFICATION DIVISION.
> PROGRAM-ID. HELLO.

> DATA DIVISION.
> WORKING-STORAGE SECTION.
> 01 WS-TABLE.
> 05 WS-A PIC A(10)
> OCCURS 1 TO 5 TIMES
> DEPENDING ON D1
> INDEXED BY I1.
> 01 D1 USAGE BINARY-CHAR UNSIGNED.

> PROCEDURE DIVISION.
> initialize ws-table.
> set i1 to 10.
> move i1 to d1.
> move "thing" to WS-A(i1).
> DISPLAY "ONE-D TABLE : "WS-TABLE.
> STOP RUN.

> This runs without error. Is that what's supposed to happen?

> The GnuCOBOL version is

> cobc (GnuCOBOL) 3.2-dev.0
> Copyright (C) 2022 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <https://gnu.org/licenses/gpl.html> This is free software; see the
> source for copying conditions. There is NO warranty; not even for
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by
> Keisuke Nishida, Roger While, Ron Norman, Simon Sobisch, Edward
> Hart Built Jul 07 2022 09:17:27 Packaged Jul 07 2022 08:40:44 UTC
> C version (MinGW) "9.2.0"

Why are you expecting it to produce an error ?

Although the value used is outside the table range unless you have full
diagnostic checks set on compile it would not produce a error condition but
doing so produces :

cobc -x test1.cbl -d -g
-bash-5.1$ ./test1
libcob: test1.cbl:15: error: OCCURS DEPENDING ON 'D1' out of bounds: 0
note: minimum subscript for 'WS-A': 1

Last statement of "HELLO" was INITIALIZE at line 15 of test1.cbl
ENTRY HELLO at test1.cbl:15
Started by ./test1

I only added 1st line with " >>source free"
before compiling.

Without the runtine diags it may well show garbage data but here did not
as showed :

-bash-5.1$ cobc -x test1.cbl
-bash-5.1$ ./test1
ONE-D TABLE :
thing

version used :

cobc -V
cobc (GnuCOBOL) 3.2-dev.0
Built May 30 2023 21:15:38
Packaged May 30 2023 16:41:34 UTC
C version "10.4.0"

Vincent

Re: Catching table overflow

<22f02fcd-2b33-4269-b8f2-3ddbb73f34bcn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.cobol
X-Received: by 2002:a05:620a:409:b0:763:d2db:6126 with SMTP id 9-20020a05620a040900b00763d2db6126mr626538qkp.4.1687573760867;
Fri, 23 Jun 2023 19:29:20 -0700 (PDT)
X-Received: by 2002:a05:6870:98b0:b0:1ad:9e6:fba7 with SMTP id
eg48-20020a05687098b000b001ad09e6fba7mr3291093oab.9.1687573760572; Fri, 23
Jun 2023 19:29:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.cobol
Date: Fri, 23 Jun 2023 19:29:20 -0700 (PDT)
In-Reply-To: <1687370514@f1.n250.z2.fidonet.ftn>
Injection-Info: google-groups.googlegroups.com; posting-host=49.196.18.218; posting-account=1W9SuAoAAAApKJ8N7QNszANYOyWIVzjG
NNTP-Posting-Host: 49.196.18.218
References: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com> <1687370514@f1.n250.z2.fidonet.ftn>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <22f02fcd-2b33-4269-b8f2-3ddbb73f34bcn@googlegroups.com>
Subject: Re: Catching table overflow
From: bruce.axtens@gmail.com (Bruce Axtens)
Injection-Date: Sat, 24 Jun 2023 02:29:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1618
 by: Bruce Axtens - Sat, 24 Jun 2023 02:29 UTC

On Thursday, 22 June 2023 at 2:14:35 am UTC+8, Vincent Coen wrote:
> Why are you expecting it to produce an error ?
I suppose because many other languages do. I was not aware of the compiler switch and didn't find it after a couple of searches (maybe I didn't search for the right keyword).

The fact that it doesn't produce an error means I just have to be more careful (or find the relevant switch).

-Bruce

Re: Catching table overflow

<e780a289-5a70-4277-9c71-374b6e44ee3an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.cobol
X-Received: by 2002:ad4:57d2:0:b0:635:6fb4:ec58 with SMTP id y18-20020ad457d2000000b006356fb4ec58mr14337qvx.1.1688669371624;
Thu, 06 Jul 2023 11:49:31 -0700 (PDT)
X-Received: by 2002:a17:903:228a:b0:1b8:95fc:d2a with SMTP id
b10-20020a170903228a00b001b895fc0d2amr2614473plh.10.1688669371087; Thu, 06
Jul 2023 11:49:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.cobol
Date: Thu, 6 Jul 2023 11:49:30 -0700 (PDT)
In-Reply-To: <22f02fcd-2b33-4269-b8f2-3ddbb73f34bcn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=72.47.31.127; posting-account=bNVYKAoAAABzyKsQBo-x9EXnZSsvwX_I
NNTP-Posting-Host: 72.47.31.127
References: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com>
<1687370514@f1.n250.z2.fidonet.ftn> <22f02fcd-2b33-4269-b8f2-3ddbb73f34bcn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e780a289-5a70-4277-9c71-374b6e44ee3an@googlegroups.com>
Subject: Re: Catching table overflow
From: billfahle@gmail.com (William Fahle)
Injection-Date: Thu, 06 Jul 2023 18:49:31 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2077
 by: William Fahle - Thu, 6 Jul 2023 18:49 UTC

On Friday, June 23, 2023 at 9:29:21 PM UTC-5, Bruce Axtens wrote:
> On Thursday, 22 June 2023 at 2:14:35 am UTC+8, Vincent Coen wrote:
> > Why are you expecting it to produce an error ?
> I suppose because many other languages do. I was not aware of the compiler switch and didn't find it after a couple of searches (maybe I didn't search for the right keyword).
>
> The fact that it doesn't produce an error means I just have to be more careful (or find the relevant switch).
>
> -Bruce
Up until version 6.1, the IBM COBOL compiler and runtime environment were very sloppy in allowing this sort of thing. Then in 6.1 when they put in checks for such things, all kinds of issues were found in existing code. The migration to 6.1 is quite a big deal for many shops.

Re: Catching table overflow

<u877ls$c96$1@reader2.panix.com>

  copy mid

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

  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: Catching table overflow
Date: Thu, 6 Jul 2023 20:20:12 -0000 (UTC)
Organization: Public Access Networks Corp.
Message-ID: <u877ls$c96$1@reader2.panix.com>
References: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com> <1687370514@f1.n250.z2.fidonet.ftn> <22f02fcd-2b33-4269-b8f2-3ddbb73f34bcn@googlegroups.com> <e780a289-5a70-4277-9c71-374b6e44ee3an@googlegroups.com>
Injection-Date: Thu, 6 Jul 2023 20:20:12 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix1.panix.com:166.84.1.1";
logging-data="12582"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Thu, 6 Jul 2023 20:20 UTC

In article <e780a289-5a70-4277-9c71-374b6e44ee3an@googlegroups.com>,
William Fahle <billfahle@gmail.com> wrote:
>On Friday, June 23, 2023 at 9:29:21???PM UTC-5, Bruce Axtens wrote:
>> On Thursday, 22 June 2023 at 2:14:35???am UTC+8, Vincent Coen wrote:
>> > Why are you expecting it to produce an error ?
>> I suppose because many other languages do. I was not aware of the
>compiler switch and didn't find it after a couple of searches (maybe I
>didn't search for the right keyword).
>>
>> The fact that it doesn't produce an error means I just have to be more
>careful (or find the relevant switch).
>>
>> -Bruce
>Up until version 6.1, the IBM COBOL compiler and runtime environment
>were very sloppy in allowing this sort of thing. Then in 6.1 when they
>put in checks for such things, all kinds of issues were found in
>existing code. The migration to 6.1 is quite a big deal for many shops.

Before there was enough core to allow Big Tables in WORKING-STORAGE some
people would define smaller tables consecutively. It wasn't a difficulty
as long as the Senior Programmer made sure youngsters with less than five
years' experience didn't deal with that code... or until the shop
installed one of those fancy, new compilers that'd re-arrange storage
areas.

Ahhhh, for the Oldene Dayse... did'ja hear that core just fell below the
buck-a-byte level?

DD

Re: Catching table overflow

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

  copy mid

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

  copy link   Newsgroups: comp.lang.cobol
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: VBCoen@gmail.com (Vincent Coen)
Newsgroups: comp.lang.cobol
Subject: Re: Catching table overflow
Date: Fri, 07 Jul 2023 02:16:02 +0100
Organization: A noiseless patient Spider
Lines: 44
Sender: "Vincent Coen" <VBCoen@gmail.com>
Message-ID: <1688692562@f1.n250.z2.fidonet.ftn>
References: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com> <1687370514@f1.n250.z2.fidonet.ftn> <22f02fcd-2b33-4269-b8f2-3ddbb73f34bcn@googlegroups.com> <e780a289-5a70-4277-9c71-374b6e44ee3an@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="b9b91e51af90033bb57df31efdd1316e";
logging-data="1269889"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19EUMCkopUoHaL4R1+x+izj"
Cancel-Lock: sha1:fBYT/UNyds4WjXRl6nm6FUsH+34=
X-FTN-MSGID: 2:250/1@fidonet 64a76984
X-FTN-Sender: Vincent Coen <Vincent.Coen@f1.n250.z2.fidonet.org>
X-FTN-PATH: 250/1
X-Origin-Newsgroups: comp.lang.cobol
X-FTN-TID: MBSE-FIDO 1.0.8.4 (Linux-x86_64)
X-FTN-TZUTC: 0100
REPLY: googlegroups.com 1e062ed4
X-Newsreader: GoldED+/LNX 1.1.5 (Linux 5.15.117-server-2.mga8 CPU UNKNOWN)
X-FTN-AREA: COMP.LANG.COBOL
X-FTN-PID: GED+LNX 1.1.5-b20180707
X-FTN-CHRS: UTF-8 2
X-Comment-To: "William Fahle" <billfahle@gmail.com>
X-FTN-SEEN-BY: 25/0 250/0 1 2 4 5 6 8 12 13 14 263/0 371/52 467/4 712/1321
 by: Vincent Coen - Fri, 7 Jul 2023 01:16 UTC

Hello William!

Thursday July 06 2023 19:49, William Fahle wrote to All:

> On Friday, June 23, 2023 at 9:29:21 PM UTC-5, Bruce Axtens wrote:
>> On Thursday, 22 June 2023 at 2:14:35 am UTC+8, Vincent Coen
>> wrote:
>> > Why are you expecting it to produce an error ?
>> I suppose because many other languages do. I was not aware of the
>> compiler switch and didn't find it after a couple of searches (maybe
>> I didn't search for the right keyword). The fact that it doesn't
>> produce an error means I just have to be more careful (or find the
>> relevant switch). -Bruce
> Up until version 6.1, the IBM COBOL compiler and runtime environment
> were very sloppy in allowing this sort of thing. Then in 6.1 when they
> put in checks for such things, all kinds of issues were found in
> existing code. The migration to 6.1 is quite a big deal for many
> shops.

IBM compilers have always had a diag check facility on way or another BUT
it does depend on what settings are preset when the compiler was built for
the site. As you no doubt know there are very many that can be so the
sysprog that sets the new compilers up does so according to a site wide
specification created by, hmm well someone any way :)

I use 3 or 4 of them and they all have different settings pre-configured
in.

GnuCobol is not so easy to do and I have requested a more automated way of
doing so other than the compiler config files via std=<dialect> etc.

For more settings run cobc -h

look for -d (or --debug) -g for enable C compiler debug and stack check

For tracing the program add -ftraceall when environment var COB_SET_TRACE
is set to 1 or Y.

For more details read the Programmers Guide or Reference manuals.

Vincent

Re: Catching table overflow

<u87taf$9dd$1@reader2.panix.com>

  copy mid

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

  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: Catching table overflow
Date: Fri, 7 Jul 2023 02:29:35 -0000 (UTC)
Organization: Public Access Networks Corp.
Message-ID: <u87taf$9dd$1@reader2.panix.com>
References: <c34be416-147f-44c4-a219-652768121e79n@googlegroups.com> <22f02fcd-2b33-4269-b8f2-3ddbb73f34bcn@googlegroups.com> <e780a289-5a70-4277-9c71-374b6e44ee3an@googlegroups.com> <1688692562@f1.n250.z2.fidonet.ftn>
Injection-Date: Fri, 7 Jul 2023 02:29:35 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix1.panix.com:166.84.1.1";
logging-data="9645"; mail-complaints-to="abuse@panix.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
 by: docdwarf@panix.com - Fri, 7 Jul 2023 02:29 UTC

In article <1688692562@f1.n250.z2.fidonet.ftn>,
Vincent Coen <VBCoen@gmail.com> wrote:
>Hello William!
>
>Thursday July 06 2023 19:49, William Fahle wrote to All:
>
> > On Friday, June 23, 2023 at 9:29:21???PM UTC-5, Bruce Axtens wrote:
> >> On Thursday, 22 June 2023 at 2:14:35???am UTC+8, Vincent Coen
> >> wrote:
> >> > Why are you expecting it to produce an error ?
> >> I suppose because many other languages do. I was not aware of the
> >> compiler switch and didn't find it after a couple of searches (maybe
> >> I didn't search for the right keyword). The fact that it doesn't
> >> produce an error means I just have to be more careful (or find the
> >> relevant switch). -Bruce
> > Up until version 6.1, the IBM COBOL compiler and runtime environment
> > were very sloppy in allowing this sort of thing. Then in 6.1 when they
> > put in checks for such things, all kinds of issues were found in
> > existing code. The migration to 6.1 is quite a big deal for many
> > shops.
>
>IBM compilers have always had a diag check facility on way or another BUT
>it does depend on what settings are preset when the compiler was built for
>the site.

SSRANGE would check for SubScriptRANGE. The advantage was that it avoided
table overflows, the disadvantage was that it chewed up more resources
during compiles.

https://stackoverflow.com/questions/56866908/gnucobol-equivalent-of-nossrange

DD

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor