Deutsch   English   Français   Italiano  
<v5vjif$24up$1@gal.iecc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.arch
Subject: Re: ancient OS history, ARM is sort of channeling the IBM 360
Date: Tue, 2 Jul 2024 01:02:07 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <v5vjif$24up$1@gal.iecc.com>
References: <s7r87j1c3u6mim0db3ccbdvknvtjr4anu3@4ax.com> <v5q6qm$5fhe$1@dont-email.me> <v5qn67$c1dr$1@dont-email.me> <v5v7pd$18njs$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 2 Jul 2024 01:02:07 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="70617"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <s7r87j1c3u6mim0db3ccbdvknvtjr4anu3@4ax.com> <v5q6qm$5fhe$1@dont-email.me> <v5qn67$c1dr$1@dont-email.me> <v5v7pd$18njs$1@dont-email.me>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
Bytes: 2231
Lines: 26

According to Lawrence D'Oliveiro  <ldo@nz.invalid>:
>> Again, it depends.  For COBOL, you didn't have to specify anything. The
>> compiler set up everything for you for you, and it "just worked".
>
>Maybe it didn’t. Given the way locate-mode I/O is set up, it should 
>automatically fall back to copy-mode if the conditions are not right. So 
>maybe you were in fact using copy-mode, not locate-mode, most of the time, 
>without realizing it.

You know, you could admit that just once you're wrong.

Or you could read the COBOL manuals, e.g. page 91 of the DOS COBOL
Programmer's guide:

 Files can be processed using multiple buffers. Logical records are
 referenced in the proper biock by adjusting registers (using them as
 pointers). 

 This technique eliminates the need for moving a record from the
 buffer area to a separate record work area, as well as the record work
 area itself. The record can be operated on directly in the buffer
 area. 

-- 
Regards,
John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail. https://jl.ly