Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

All the existing 2.0.x kernels are to buggy for 2.1.x to be the main goal. -- Alan Cox


computers / comp.os.vms / Re: CRTL and RMS vs SSIO

SubjectAuthor
* CRTL and RMS vs SSIOGreg Tinkler
+* Re: CRTL and RMS vs SSIOStephen Hoffman
|`* Re: CRTL and RMS vs SSIOGreg Tinkler
| `- Re: CRTL and RMS vs SSIOStephen Hoffman
+* Re: CRTL and RMS vs SSIOCraig A. Berry
|+* Re: CRTL and RMS vs SSIODavid Jones
||+* Re: CRTL and RMS vs SSIOJohn Dallman
|||+* Re: CRTL and RMS vs SSIOGreg Tinkler
||||+- Re: CRTL and RMS vs SSIOArne Vajhøj
||||+* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||`* Re: CRTL and RMS vs SSIOArne Vajhøj
||||| `* Re: CRTL and RMS vs SSIODave Froble
|||||  `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||   `* Re: CRTL and RMS vs SSIODave Froble
|||||    `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||     `* Re: CRTL and RMS vs SSIODave Froble
|||||      +* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |`* Re: CRTL and RMS vs SSIODave Froble
|||||      | `* Re: CRTL and RMS vs SSIOSimon Clubley
|||||      |  +- Re: CRTL and RMS vs SSIODave Froble
|||||      |  +- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |  `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |   +- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |   `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |    +* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      |    |`- Re: CRTL and RMS vs SSIODave Froble
|||||      |    `* Re: CRTL and RMS vs SSIOPhillip Helbig (undress to reply
|||||      |     `- Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||      `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||       `* Re: CRTL and RMS vs SSIODave Froble
|||||        +* Re: CRTL and RMS vs SSIOJan-Erik Söderholm
|||||        |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | +* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        | |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | | `* Re: CRTL and RMS vs SSIOSimon Clubley
|||||        | |  `* Re: CRTL and RMS vs SSIODave Froble
|||||        | |   `- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        | `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||        |  `* Re: CRTL and RMS vs SSIOchris
|||||        |   +- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |   `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||||        |    `- Re: CRTL and RMS vs SSIOchris
|||||        +* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |`* Re: CRTL and RMS vs SSIODave Froble
|||||        | `* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  +* Re: CRTL and RMS vs SSIODave Froble
|||||        |  |+* Coding with/without RDBMSDave Froble
|||||        |  ||+- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||`* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |`* Re: Coding with/without RDBMSDave Froble
|||||        |  || | +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |`* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || | | `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |  `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  || | |   +- Re: Coding with/without RDBMSchris
|||||        |  || | |   `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |    `* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  || | |     +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || | |     `- Re: Coding with/without RDBMSchris
|||||        |  || | `* Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  || |  +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |  |`- Re: Coding with/without RDBMSDave Froble
|||||        |  || |  `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  || |   +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  || |   |+- Re: Coding with/without RDBMSDavid Jones
|||||        |  || |   |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  || |   `- Re: Coding with/without RDBMSDave Froble
|||||        |  || `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||  +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  |+- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||  |`* Re: Coding with/without RDBMSDave Froble
|||||        |  ||  | `- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||  +* Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  ||  |`- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||  `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||   `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||    +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||    `* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||     +* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||     |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||     `* Re: Coding with/without RDBMSDave Froble
|||||        |  ||      +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      +* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||      |`* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      | `* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||      |  `- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||      `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||       +* Re: Coding with/without RDBMSDavid Jones
|||||        |  ||       |`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       +* Re: Coding with/without RDBMSSimon Clubley
|||||        |  ||       |`* Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       | +- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       | `* Re: Coding with/without RDBMSBill Gunshannon
|||||        |  ||       |  +* Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       |  |+* Re: Coding with/without RDBMSJan-Erik Söderholm
|||||        |  ||       |  ||+- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  ||`- Re: Coding with/without RDBMSLawrence D’Oliveiro
|||||        |  ||       |  |`- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  +- Re: Coding with/without RDBMSPhillip Helbig (undress to reply
|||||        |  ||       |  +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       |  `- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       +- Re: Coding with/without RDBMSArne Vajhøj
|||||        |  ||       `- Re: Coding with/without RDBMSDave Froble
|||||        |  |+- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  |`* Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        |  `- Re: CRTL and RMS vs SSIOArne Vajhøj
|||||        `* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
||||+* Re: CRTL and RMS vs SSIODave Froble
||||+* Re: CRTL and RMS vs SSIOSimon Clubley
||||`* Re: CRTL and RMS vs SSIOStephen Hoffman
|||+* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|||`- Re: CRTL and RMS vs SSIOSimon Clubley
||`* Re: CRTL and RMS vs SSIOLawrence D’Oliveiro
|`* Re: CRTL and RMS vs SSIODave Froble
`- Re: CRTL and RMS vs SSIOArne Vajhøj

Pages:123456789101112131415
Re: CRTL and RMS vs SSIO

<sjnc6u$lu3$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!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: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 17:53:34 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <sjnc6u$lu3$1@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjmp1s$lmk$2@dont-email.me> <7fcb272f-b348-4603-b69b-f067672f3f83n@googlegroups.com> <sjmqv3$953$1@dont-email.me> <615ef766$0$695$14726298@news.sunsite.dk> <sjn992$b3j$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 7 Oct 2021 17:53:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a3baee4982fc18fe5a8535565dbc2b12";
logging-data="22467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190iAo9mXRiSjLc+MrjCJPGJBaJBSBK/oE="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ra2ut5EPWQEgPQMxJTA0H8VlITQ=
 by: Simon Clubley - Thu, 7 Oct 2021 17:53 UTC

On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
> On 10/7/2021 9:34 AM, Arne Vajhøj wrote:
>
>> I suspect that the variable length file output below will
>> surprise a few *nix developers.
>>
>
> Why do you post C code examples that confuse me and give me a headache?
>
>:-)
>
> Then again, Basic code examples might confuse Unix developers ...
>

Some of them might be aware of Basic.

Back in the later MS-DOS days, Microsoft used to ship a Basic
interpreter for free with MS-DOS and (apparently some Windows versions):

https://en.wikipedia.org/wiki/QBasic

I've just discovered there's a version of Microsoft QuickBasic for Linux:

https://en.wikipedia.org/wiki/FreeBASIC

which I did not know about.

Just been reminded that Gorillas.bas was released 30 years ago.

I am now depressed. :-)

Simon.

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

Re: CRTL and RMS vs SSIO

<sjnd04$lu3$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!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: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 18:07:00 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <sjnd04$lu3$2@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjmp1s$lmk$2@dont-email.me> <7fcb272f-b348-4603-b69b-f067672f3f83n@googlegroups.com> <sjmqv3$953$1@dont-email.me> <sjn937$9oo$1@dont-email.me>
Injection-Date: Thu, 7 Oct 2021 18:07:00 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a3baee4982fc18fe5a8535565dbc2b12";
logging-data="22467"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aXjyM6ftdUiuTCFLsSV6Pr3/0xEbbKoY="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:y7zALqgFig47BAlnV0kY7CD+WpU=
 by: Simon Clubley - Thu, 7 Oct 2021 18:07 UTC

On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
> On 10/7/2021 8:59 AM, Simon Clubley wrote:
>> On 2021-10-07, Greg Tinkler <tinklerg@gmail.com> wrote:
>>> On Thursday, 7 October 2021 at 11:26:38 pm UTC+11, Simon Clubley wrote:
>>>
>>>> How do you find byte 12,335,456 in a variable length RMS sequential file
>>>> without reading from the start of the file ?
>>>>
>>>> That's why there are restrictions on RMS supported file formats in an
>>>> application in some cases.
>>>
>>> The same way it is done on Unix, calculate the block offset, go get it, and extract the byte. no difference and nothing to do with the underlying format.
>>>
>>
>> You don't know the block offset without scanning the file when it comes
>> to some RMS file formats.
>>
>> IOW, data byte 12,335,456 will not be the same thing as file byte 12,335,456
>> unless you restrict yourself to record formats that do not have embedded
>> record metadata.
>>
>
> I'm guessing Unix files don't have metadata and such. So the comparison
> is not valid.
>

No, Unix doesn't. At Unix filesystem level, files are just a stream of bytes.

The next layer up on Unix is the C RTL. There's nothing like RMS
between the filesystem and the C RTL on Unix.

Simon.

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

Re: CRTL and RMS vs SSIO

<615f38e0$0$698$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 7 Oct 2021 14:13:45 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.1.2
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjmp1s$lmk$2@dont-email.me>
<7fcb272f-b348-4603-b69b-f067672f3f83n@googlegroups.com>
<sjmqv3$953$1@dont-email.me> <615ef766$0$695$14726298@news.sunsite.dk>
<sjn992$b3j$1@dont-email.me> <sjnc6u$lu3$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sjnc6u$lu3$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 29
Message-ID: <615f38e0$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 721c988e.news.sunsite.dk
X-Trace: 1633630432 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:60956
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 7 Oct 2021 18:13 UTC

On 10/7/2021 1:53 PM, Simon Clubley wrote:
> On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
>> Then again, Basic code examples might confuse Unix developers ...
>
> Some of them might be aware of Basic.
>
> Back in the later MS-DOS days, Microsoft used to ship a Basic
> interpreter for free with MS-DOS and (apparently some Windows versions):
>
> https://en.wikipedia.org/wiki/QBasic

GW-Basic came with DOS 1-4 and QBasic with DOS 5-6 and early Windows I
believe.

GW-Basic source code is now available at:
https://github.com/microsoft/GW-BASIC

> I've just discovered there's a version of Microsoft QuickBasic for Linux:
>
> https://en.wikipedia.org/wiki/FreeBASIC
>
> which I did not know about.

I would still not expect many Linux people to know Basic.

And besides VMS Basic is somewhat different from MS Basic flavors.

Arne

Re: CRTL and RMS vs SSIO

<615f39f2$0$695$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 7 Oct 2021 14:18:19 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.1.2
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjmp1s$lmk$2@dont-email.me>
<7fcb272f-b348-4603-b69b-f067672f3f83n@googlegroups.com>
<sjmqv3$953$1@dont-email.me> <sjn937$9oo$1@dont-email.me>
<sjnd04$lu3$2@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sjnd04$lu3$2@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 17
Message-ID: <615f39f2$0$695$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 721c988e.news.sunsite.dk
X-Trace: 1633630706 news.sunsite.dk 695 arne@vajhoej.dk/68.9.63.232:61096
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 7 Oct 2021 18:18 UTC

On 10/7/2021 2:07 PM, Simon Clubley wrote:
> On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
>> I'm guessing Unix files don't have metadata and such. So the comparison
>> is not valid.
>
> No, Unix doesn't. At Unix filesystem level, files are just a stream of bytes.
>
> The next layer up on Unix is the C RTL. There's nothing like RMS
> between the filesystem and the C RTL on Unix.

The Unix file systems does not have meta data about how the
bytes are to be read/interpreted (like VMS: ORG, RFM, RAT,
MRS etc.). They do have some general meta data (owner,
protection, size, timestamp).

Arne

Re: CRTL and RMS vs SSIO

<sjne7k$d5p$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!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: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 18:28:04 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 44
Message-ID: <sjne7k$d5p$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
Injection-Date: Thu, 7 Oct 2021 18:28:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a3baee4982fc18fe5a8535565dbc2b12";
logging-data="13497"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Ot0hO6N6+pzZtWVOZsap9RFq1A/GrYec="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:el4jMnOPN6IMzXyaP8DDnT40u+Y=
 by: Simon Clubley - Thu, 7 Oct 2021 18:28 UTC

On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Don't know how far work had progressed on alternate file systems. Might
> or might not help to make RMS "just another capability". But, doing
> what you suggest would go a long way toward making VMS more useful in
> the future.
>
> I've got the suspicion that VMS clusters, while good, create some of the
> problems in attempting to add new capabilities to VMS. Need I mention
> "MOUNT"? Better segregation might help to add new and different
> capabilities. Not sure how easy that might be.
>

VMS clusters at conceptual level are not the problem. They offer
some very nice functionality that only recently is beginning to
appear elsewhere. They were literally a generation ahead of what
was available elsewhere when they were released.

The problem is how VMS was designed in those early days before
modular and layered computing really took off.

The VMS filesystem code, including MOUNT as you say, is a _horrible_
monolithic mass of closely interlinked code without any clear
boundaries between them that allow people (including end users) to
easily plug in new functionality and new filesystems.

The same is true for VMS CLIs BTW. DCL is tightly bound into VMS
in a horrible way it should not be. On Linux, both the command
shell and filesystem architectures are vastly cleaner and more
modular than they are on VMS.

However, if VMS had been designed in a later era, there would be
absolutely nothing stopping VMS having a cleaner internal architecture
_and_ also having world-leading cluster capabilities that are only
now just being equalled elsewhere.

IOW, it's not clustering that's the problem - it's the fact that
VMS wasn't implemented 5 to 10 years later than it was.

Simon.

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

Re: CRTL and RMS vs SSIO

<sjnecq$efk$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 14:30:50 -0400
Organization: HoffmanLabs LLC
Lines: 119
Message-ID: <sjnecq$efk$1@dont-email.me>
References: <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="daf8589c6aeae7237c703c8a6e7def24";
logging-data="14836"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18FH5VwtxSFrkytgw4rk/EyRDF948C8kBA="
User-Agent: Unison/2.2
Cancel-Lock: sha1:no0ei4JvWU4rBGPVwWkVWCa5jgA=
 by: Stephen Hoffman - Thu, 7 Oct 2021 18:30 UTC

On 2021-10-07 17:16:03 +0000, Dave Froble said:

> On 10/7/2021 11:34 AM, Stephen Hoffman wrote:
>> On 2021-10-07 01:25:57 +0000, Greg Tinkler said:
>>
>>> My point is SSIO seems to be focused on just PostgreSQL, whereas an RMS
>>> solution is much much easier to program, uses well tested code, and is
>>> already cluster ready putting the team ahead of the game and not
>>> building issues for the future.
>>
>> ...
>>
>> Fix the existing RMS data corruption in 32-bit RMS and/or in the C
>> library, and get PostgreSQL available on OpenVMS soonest. I expect this
>> is the priority for VSI.
>
> Most likely.
>
>> Everything else is aspirational.
>>
>> Integrate stream file access support at the XQP and allow C and C++ and
>> other non-punched-card-style app designs and stream- and OO-focused
>> languages to optionally bypass RMS entirely.
>
> I don't use C, so I don't know much about it. But isn't this
> capability already available?

The C standard functions—the equivalent of the BASIC calls OPEN, READ,
WRITE, et al—are via RMS. There's no knob to tell C "don't do that".

The C default sequential file format creation format on OpenVMS is RMS
VFC, which has been a perpetual source of confusion and consternation
for users new to C on OpenVMS.

> Even RMS has the BLOCK I/O capability, at least from Basic.

C doesn't do sector I/O within the standard library, though the native
platform calls are easily available.

> As far as I know, QIO doesn't know a thing about RMS. Well, the
> directory structure does know RMS, and to an extent is RMS.

$qio (and $io_perform) offer sector access through RMS (virtual),
record access through RMS (virtual), or access to device through the
file system (IO$_ACPCONTROL XQP), or direct access to the device driver
and device (logical and physical I/O).

The VIRT_IO virtual I/O paths through RMS and through the XQP are
cluster-aware, while the LOG_IO logical and PHY_IO physical I/O paths
are not.

RMS provides record locking for cluster coordination, while the XQP
provides coordination for the on-disk file system.

>> Better integrate and document the existing range-locking support
>> available within DLM.
>
> Yes, for sure. And if needed, make it much better.
>
>> And in aggregate, stop trying to make the current 32-bit RMS NoSQL
>> database more complex than it already is, and re-architect such that
>> 32-bit RMS NoSQL database becomes just another available database, and
>> preferably while providing room for 64-bit RMS rather than trying
>> another OpenVMS Alpha V7.0-style 32-/64-bit or FAB/RAB/RAB64/NAM/NAML
>> design, and make 32- or (hypothetical) 64-bit RMS not the sole
>> persistent-storage "funnel" for structured file access for apps running
>> on OpenVMS, short of those few using XQP or LOG_IO or PHY_IO. Existing
>> RMS apps are already headed for "fun" as part of the upcoming 64-bit
>> LBN work for VSI and for apps, and a whole lot of those apps just won't
>> make it past messes similar to apps still tied to ODS-2 naming. I'd
>> wager that most existing apps don't yet fully support ODS-5 naming,
>> UTF-8 and all, too. Similar app messes with latent 32-bit RMS
>> dependencies.
>
> Oh, no, Steve. That is much too logical and reasonable. Can't have
> that. We must insure that things stay totally screwed up.

I'd prefer an approach where there's some opportunity to ease new work
and new APIs into production, and to also retire overtly-busted APIs.

Oracle Rdb was really good at that migration and for as far as that
went, but most other apps and OpenVMS itself have not managed to copy
that. Not successfully.

> Don't know how far work had progressed on alternate file systems.
> Might or might not help to make RMS "just another capability". But,
> doing what you suggest would go a long way toward making VMS more
> useful in the future.
>
> I've got the suspicion that VMS clusters, while good, create some of
> the problems in attempting to add new capabilities to VMS. Need I
> mention "MOUNT"? Better segregation might help to add new and
> different capabilities. Not sure how easy that might be.

Oracle Rdb and some other databases have cluster access locking,
whether using DLM or database-level locking.

Other databases can be single-host.

The SQLite port to OpenVMS supports DLM and clustering.

PostgreSQL has been adding replication and clustering:
https://www.postgresql.org/docs/9.5/different-replication-solutions.html

Whether an OpenVMS port of PostgreSQL can incorporate DLM calls is
fodder for future discussions, once the SSIO prerequisite becomes
available and a hypothetical future PostgreSQL port becomes stable. A
stable PostgreSQL will interest some folks, with adoptions depending on
both intrinsic interest and, um, potential extrinsic factors not yet in
evidence.

And no, you need not mention MOUNT, having necessarily (re)written what
MOUNT provides on several occasions.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjnejb$fsq$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 14:34:19 -0400
Organization: HoffmanLabs LLC
Lines: 12
Message-ID: <sjnejb$fsq$1@dont-email.me>
References: <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="daf8589c6aeae7237c703c8a6e7def24";
logging-data="16282"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX187Y14gEyy12PXHOWQ+SI0IseLK68oA2YI="
User-Agent: Unison/2.2
Cancel-Lock: sha1:dBS0CWVZse/tgkgi87Q7XOGJCIc=
 by: Stephen Hoffman - Thu, 7 Oct 2021 18:34 UTC

On 2021-10-07 18:28:04 +0000, Simon Clubley said:

> IOW, it's not clustering that's the problem - it's the fact that VMS
> wasn't implemented 5 to 10 years later than it was.

....Or that OpenVMS and its apps weren't later migrated to DEC MICA.
Which is kinda-sorta what you're referring to.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<615f3e33$0$696$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 7 Oct 2021 14:36:28 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.1.2
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjnecq$efk$1@dont-email.me>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <sjnecq$efk$1@dont-email.me>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 26
Message-ID: <615f3e33$0$696$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 721c988e.news.sunsite.dk
X-Trace: 1633631795 news.sunsite.dk 696 arne@vajhoej.dk/68.9.63.232:61674
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Thu, 7 Oct 2021 18:36 UTC

On 10/7/2021 2:30 PM, Stephen Hoffman wrote:
> PostgreSQL has been adding replication and clustering:
> https://www.postgresql.org/docs/9.5/different-replication-solutions.html
>
> Whether an OpenVMS port of PostgreSQL can incorporate DLM calls is
> fodder for future discussions, once the SSIO prerequisite becomes
> available and a hypothetical future PostgreSQL port becomes stable. A
> stable PostgreSQL will interest some folks, with adoptions depending on
> both intrinsic interest and, um, potential extrinsic factors not yet in
> evidence.

PostgreSQL clusters are active/passive.

All updates and typical all reads goes to the active node
and updates get replicated from the active node to the passive nodes.

I believe it is possible to have the passive nodes support
reading.

But with only the active node taking updates then there
is no need for DLM.

(VMS people may not even call such a config a cluster, but ...)

Arne

Re: CRTL and RMS vs SSIO

<sjngkm$u63$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 15:09:10 -0400
Organization: HoffmanLabs LLC
Lines: 22
Message-ID: <sjngkm$u63$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjnecq$efk$1@dont-email.me> <615f3e33$0$696$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="daf8589c6aeae7237c703c8a6e7def24";
logging-data="30915"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rnwrUTooy/rABYtclV8sgRioKcHl5k0I="
User-Agent: Unison/2.2
Cancel-Lock: sha1:8+Y/WPRCfd98VBgCH0Il0f2n8+I=
 by: Stephen Hoffman - Thu, 7 Oct 2021 19:09 UTC

On 2021-10-07 18:36:28 +0000, Arne Vajhj said:

> PostgreSQL clusters are active/passive. ...

For folks interested in this general topic area with PostgreSQL around
failover and replication, please see the PostgreSQL documentation for
details.

Here's an updated link from what I'd posted earlier:
https://www.postgresql.org/docs/14/different-replication-solutions.html

If there's interest in adding what OpenVMS calls clustering within any
hypothetical future PostgreSQL port, use of the DLM will undoubtedly be
considered.

nb: PostgreSQL uses the term "cluster" for something entirely different
and unrelated to OpenVMS clustering.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjnng5$cs4$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!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: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 17:03:53 -0400
Organization: A noiseless patient Spider
Lines: 62
Message-ID: <sjnng5$cs4$1@dont-email.me>
References: <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjls47$q6s$1@dont-email.me> <sjmqed$73g$1@dont-email.me>
<sjn6pu$pue$1@dont-email.me> <sjn95t$acq$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Oct 2021 21:06:13 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="891536b74340e26c57ddbc786499058e";
logging-data="13188"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XEXl2/uVLWzOm+g5B7Lw75AY9cwAMDIo="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:Y7ns9pCAk5XQBHiZujTmHV2GTuM=
In-Reply-To: <sjn95t$acq$1@dont-email.me>
 by: Dave Froble - Thu, 7 Oct 2021 21:03 UTC

On 10/7/2021 1:01 PM, Stephen Hoffman wrote:
> On 2021-10-07 16:18:28 +0000, Dave Froble said:
>
>> A while back we were discussing doing away with I/O to buffers, and
>> accessing the data in place. Slower access perhaps, but doing away
>> with the reading and writing to/from buffers. Haven't heard much
>> about that lately. I don't get out much.
>
> Ayup. Nonvolatile byte-addressable storage hardware is available now,
> and is in use in various applications.
>
> Compatible memory hardware will be rather more available for OpenVMS
> x86-64, for folks interested in investigating this for their apps.
>
> Carving out a hunk of persistent storage will be interesting topic for
> app developers on OpenVMS, though I can think of a couple of ways to try.
>
> Here's an HPE overview from a few years ago on the topic:
> https://www.pdl.cmu.edu/SDI/2016/slides/keeton-2016-10-19-memory-driven-computing.pdf
>
>
> I see some B-Tree work for this area in a newer paper, and a number of
> other discussions.
>
>> Such type of activity would really benefit from having the capability
>> of locking just the required data, and, would need the capability of
>> reading and writing just the required data.
>
> Locking access to the contents of a global section, or locking access to
> hardware-backed storage for external devices, is the same issue.
>
> Whether DLM overhead is too high for that to be workable is another
> discussion that the app developers will want to ponder.
>
>> I'm aware of how useful something like SSIO would be. I'm just
>> appalled by the design and implementation. As mentioned, it seems
>> aimed at just a few current uses, and totally ignores how useful it
>> would be for many more future uses. This is rather consistent with
>> the long time apathy with which VMS has been treated. It's more a
>> patch than an enhancement. This is what I lament.
>
> Alas, there's no other outcome when upward-compatibility is an
> overarching goal for the platform.

Now I''m just a dumb polock, wandered down out of the woods. But I just
don't see where upward compatibility has anything to do with
enhancements to the DLM. If existing calls continue to work as before,
and only when an optional extra parameter would enable new capabilities,
then upward compatibility just cannot be an issue. At least for this.

The optional parameter might be a "lock type", and if not present,
existing logic would be used, and if present, new code could be executed
to process the new lock type. Stuff a couple of quadwords into the
resource name for the numeric range. It would add one new piece of data
to the DLM data structure(s).

--
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: CRTL and RMS vs SSIO

<sjno2u$gl7$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!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: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 17:13:54 -0400
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <sjno2u$gl7$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<615f2d91$0$701$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 7 Oct 2021 21:16:14 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="891536b74340e26c57ddbc786499058e";
logging-data="17063"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RmaYVYnO7uZmQu/uKukXLnEI3iT/glnk="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:53+mPepe91w+wpFdWtIAj1CUo1s=
In-Reply-To: <615f2d91$0$701$14726298@news.sunsite.dk>
 by: Dave Froble - Thu, 7 Oct 2021 21:13 UTC

On 10/7/2021 1:25 PM, Arne Vajhøj wrote:
> On 10/7/2021 1:16 PM, Dave Froble wrote:
>> On 10/7/2021 11:34 AM, Stephen Hoffman wrote:
>>> Integrate stream file access support at the XQP and allow C and C++ and
>>> other non-punched-card-style app designs and stream- and OO-focused
>>> languages to optionally bypass RMS entirely.
>>
>> I don't use C, so I don't know much about it. But isn't this
>> capability already available? Even RMS has the BLOCK I/O capability,
>> at least from Basic.
>
> C/C++ and most newer languages have a "stream view" of files while
> RMS has a "record view" of files.
>
> If they used different file systems everything would be fine.
>
> If all text files are STMLF then it works and the "stream view"
> and the "record view" produces consistent results.
>
> But trying to mix on variable length or VFC files becomes
> a minefield.
>
> I know you don't like C, but try look at the example I posted.
> Some of the outputs are very weird.
>
> Arne
>

I have some understanding of RMS files. I've been known to do recovery
work on corrupted RMS files. Have to have some knowledge of RMS to do
that. But, it sure isn't any fun ...

--
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: CRTL and RMS vs SSIO

<sjno9p$i11$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 17:17:32 -0400
Organization: A noiseless patient Spider
Lines: 54
Message-ID: <sjno9p$i11$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me>
<4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjne7k$d5p$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Oct 2021 21:19:53 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="891536b74340e26c57ddbc786499058e";
logging-data="18465"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19IYIbMqXwqS+g6OdkNZ4HOmb9wk1YXZFo="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:28AVT3rCWx4yf2FaQ/hU+KNtVmI=
In-Reply-To: <sjne7k$d5p$1@dont-email.me>
 by: Dave Froble - Thu, 7 Oct 2021 21:17 UTC

On 10/7/2021 2:28 PM, Simon Clubley wrote:
> On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
>>
>> Don't know how far work had progressed on alternate file systems. Might
>> or might not help to make RMS "just another capability". But, doing
>> what you suggest would go a long way toward making VMS more useful in
>> the future.
>>
>> I've got the suspicion that VMS clusters, while good, create some of the
>> problems in attempting to add new capabilities to VMS. Need I mention
>> "MOUNT"? Better segregation might help to add new and different
>> capabilities. Not sure how easy that might be.
>>
>
> VMS clusters at conceptual level are not the problem. They offer
> some very nice functionality that only recently is beginning to
> appear elsewhere. They were literally a generation ahead of what
> was available elsewhere when they were released.
>
> The problem is how VMS was designed in those early days before
> modular and layered computing really took off.
>
> The VMS filesystem code, including MOUNT as you say, is a _horrible_
> monolithic mass of closely interlinked code without any clear
> boundaries between them that allow people (including end users) to
> easily plug in new functionality and new filesystems.
>
> The same is true for VMS CLIs BTW. DCL is tightly bound into VMS
> in a horrible way it should not be. On Linux, both the command
> shell and filesystem architectures are vastly cleaner and more
> modular than they are on VMS.
>
> However, if VMS had been designed in a later era, there would be
> absolutely nothing stopping VMS having a cleaner internal architecture
> _and_ also having world-leading cluster capabilities that are only
> now just being equalled elsewhere.
>
> IOW, it's not clustering that's the problem - it's the fact that
> VMS wasn't implemented 5 to 10 years later than it was.
>
> Simon.
>

You may have noticed that I didn't blame VMS clusters for the problem.
Rather how some things are so rigid, and more so because of support for
some things that involve clusters. Makes new stuff sometimes much
harder, as you mentioned.

--
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: CRTL and RMS vs SSIO

<sjnv29$p42$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 18:15:19 -0500
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <sjnv29$p42$1@dont-email.me>
References: <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjnecq$efk$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 7 Oct 2021 23:15:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6276dc91ab1c57e5a7dd1b7254b9b558";
logging-data="25730"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/77buaZQdR3CH9aNFer3O1TzbqpKSv+Us="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
Gecko/20100101 Thunderbird/78.14.0
Cancel-Lock: sha1:zMqfcuH+viVuGDVKXBGtFyQsTXM=
In-Reply-To: <sjnecq$efk$1@dont-email.me>
Content-Language: en-US
 by: Craig A. Berry - Thu, 7 Oct 2021 23:15 UTC

On 10/7/21 1:30 PM, Stephen Hoffman wrote:
> On 2021-10-07 17:16:03 +0000, Dave Froble said:

>> I don't use C, so I don't know much about it.  But isn't this
>> capability already available?
>
> The C standard functions—the equivalent of the BASIC calls OPEN, READ,
> WRITE, et al—are via RMS. There's no knob to tell C "don't do that".

You're pretending that you don't know about the foo="bar" options on the
CRTL open/fopen/creat calls. Yes, it's all via RMS, but you can tell it
to do or not do certain things. And the feature logicals, of course, but
it might be dinnertime in your time zone and I wouldn't want to give you
indigestion :-).

But from BASIC, yes, I think you have to write wrappers around the CRTL
functions and then call them from BASIC, or at least that's what I did
the one time I had to write stream files from BASIC.

Re: CRTL and RMS vs SSIO

<sjo349$csk$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!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: CRTL and RMS vs SSIO
Date: Thu, 7 Oct 2021 20:22:00 -0400
Organization: A noiseless patient Spider
Lines: 101
Message-ID: <sjo349$csk$1@dont-email.me>
References: <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
<sjnecq$efk$1@dont-email.me> <sjnv29$p42$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 8 Oct 2021 00:24:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="44f1bc72a12d3a00399c1201680be5e2";
logging-data="13204"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18J/stRNUob2RIBe7ZIQSTDRTiMjHBO9Ys="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:0U5RIa8SGhMJVZt0A6Y4tOfG+fQ=
In-Reply-To: <sjnv29$p42$1@dont-email.me>
 by: Dave Froble - Fri, 8 Oct 2021 00:22 UTC

On 10/7/2021 7:15 PM, Craig A. Berry wrote:
>
> On 10/7/21 1:30 PM, Stephen Hoffman wrote:
>> On 2021-10-07 17:16:03 +0000, Dave Froble said:
>
>
>>> I don't use C, so I don't know much about it. But isn't this
>>> capability already available?
>>
>> The C standard functions—the equivalent of the BASIC calls OPEN, READ,
>> WRITE, et al—are via RMS. There's no knob to tell C "don't do that".
>
> You're pretending that you don't know about the foo="bar" options on the
> CRTL open/fopen/creat calls. Yes, it's all via RMS, but you can tell it
> to do or not do certain things. And the feature logicals, of course, but
> it might be dinnertime in your time zone and I wouldn't want to give you
> indigestion :-).
>
> But from BASIC, yes, I think you have to write wrappers around the CRTL
> functions and then call them from BASIC, or at least that's what I did
> the one time I had to write stream files from BASIC.

I'd ask, why not call the RMS routines?

No, messing with FABs and RABs and such is not one of my favorite things
to do. But it sure is doable.

Now perhaps the naming doesn't mean the same thing, but:

OPEN
Syntax
[ FOR INPUT ]
OPEN file-spec1 [ FOR OUTPUT ] AS [ FILE ] chnl-exp1 [,
open-clause ]...

open-clause: { { VIRTUAL }
}
{ { UNDEFINED }
}
{ [ ORGANIZATION ] { INDEXED } [ STREAM ]
}
{ { SEQUENTIAL } [ VARIABLE ]
}
{ { RELATIVE } [ FIXED ]
}

Basic help seems to imply that stream files can be created ...

Perhaps I should actually try it, much as it entails work ...

Itanic> t zz.bas
1 Open "ZZ.ZZ" For Output as File #1%, &
Organization Sequential Stream, &
Recordsize 32767

Print #1%, Num1$(Z%) For Z% = 1% to 5%

Close #1%

End
Itanic> t zz.zz
1 2
3 4
5 Itanic> dir/full zz.zz

Directory DKB0:[DFE]

ZZ.ZZ;1 File ID: (6678,7,0)
Size: 1/16 Owner: [DFE]
Created: 7-OCT-2021 20:22:50.29
Modified: 7-OCT-2021 20:22:50.36 (1)
Expires: <None specified>
Backup: <No backup recorded>
Effective: <None specified>
Recording: <None specified>
Accessed: 7-OCT-2021 20:22:50.29
Attr Mod: 7-OCT-2021 20:22:50.36
Data Mod: 7-OCT-2021 20:22:50.29
Linkcount: 1
File organization: Sequential
Shelved state: Online
Caching attribute: Writethrough
File attributes: Allocation: 16, Extend: 0, Global buffer count: 0,
No version limit
Record format: Stream, maximum 32767 bytes, longest 1 byte
Record attributes: Carriage return carriage control
RMS attributes: None
Journaling enabled: None
File protection: System:RWED, Owner:RWED, Group:RE, World:
Access Cntrl List: None
Client attributes: None

--
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: CRTL and RMS vs SSIO

<37915850-66bf-437f-b86d-1b44182b86a8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:4347:: with SMTP id a7mr8702146qtn.169.1633654514653;
Thu, 07 Oct 2021 17:55:14 -0700 (PDT)
X-Received: by 2002:a05:6214:136b:: with SMTP id c11mr7601910qvw.42.1633654514565;
Thu, 07 Oct 2021 17:55:14 -0700 (PDT)
Path: rocksolid2!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: Thu, 7 Oct 2021 17:55:14 -0700 (PDT)
In-Reply-To: <949f00ac-dfff-451d-8101-5773cf85e951n@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: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjls47$q6s$1@dont-email.me> <434b0639-3389-405a-b8d8-7c1f67e9219dn@googlegroups.com>
<949f00ac-dfff-451d-8101-5773cf85e951n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <37915850-66bf-437f-b86d-1b44182b86a8n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 08 Oct 2021 00:55:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 16
 by: Lawrence D’Oliveir - Fri, 8 Oct 2021 00:55 UTC

On Friday, October 8, 2021 at 4:37:06 AM UTC+13, osuv...@gmail.com wrote:
> Whatever happened to Compound Document Architecture (CDA)? It always
> struck me as an effort (now abandoned) toward an object oriented file structure.

Then there was Bento, which Apple was fond of for a while (back in the days of the OpenDoc-versus-OLE2 war).

Seems like nobody cares about live embedding and compound documents now. Probably turned out to be too complex for most users to handle.

One interesting modern trend is the use of ZIP archives as a document metaformat. For example, an ODF file (ISO 26300) is essentially a ZIP archive. There is this interesting convention that the first element of the archive shall be named “mimetype”, and its content shall be uncompressed. This allows file sniffers to pick up the MIME type info at a fixed offset near the start of the file.

Re: CRTL and RMS vs SSIO

<615f9806$0$703$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Thu, 7 Oct 2021 20:59:48 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.1.2
Subject: Re: CRTL and RMS vs SSIO
Content-Language: en-US
Newsgroups: comp.os.vms
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk>
<b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjls47$q6s$1@dont-email.me>
<434b0639-3389-405a-b8d8-7c1f67e9219dn@googlegroups.com>
<949f00ac-dfff-451d-8101-5773cf85e951n@googlegroups.com>
<37915850-66bf-437f-b86d-1b44182b86a8n@googlegroups.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <37915850-66bf-437f-b86d-1b44182b86a8n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 9
Message-ID: <615f9806$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 289fcefb.news.sunsite.dk
X-Trace: 1633654790 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:56614
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Fri, 8 Oct 2021 00:59 UTC

On 10/7/2021 8:55 PM, Lawrence D’Oliveiro wrote:
> One interesting modern trend is the use of ZIP archives as a document
> metaformat. For example, an ODF file (ISO 26300) is essentially a ZIP
> archive.

ODF, OOXML, a bunch of Java stuff (jar, war, rar, ear) etc..

Arne

Re: CRTL and RMS vs SSIO

<deb8d5f5-e28c-4ff5-90c5-20f298a973adn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a0c:f44f:: with SMTP id h15mr2456623qvm.21.1633654865548;
Thu, 07 Oct 2021 18:01:05 -0700 (PDT)
X-Received: by 2002:ae9:e810:: with SMTP id a16mr441281qkg.347.1633654865391;
Thu, 07 Oct 2021 18:01:05 -0700 (PDT)
Path: rocksolid2!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: Thu, 7 Oct 2021 18:01:05 -0700 (PDT)
In-Reply-To: <sjn42o$74b$1@dont-email.me>
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: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <deb8d5f5-e28c-4ff5-90c5-20f298a973adn@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 08 Oct 2021 01:01:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 10
 by: Lawrence D’Oliveir - Fri, 8 Oct 2021 01:01 UTC

On Friday, October 8, 2021 at 4:34:50 AM UTC+13, Stephen Hoffman wrote:
> Integrate stream file access support at the XQP and allow C and C++ and
> other non-punched-card-style app designs and stream- and OO-focused
> languages to optionally bypass RMS entirely.

I assume you mean “bypass RMS for non-block-level I/O”, since it was always possible for nonprivileged code to do direct ACP/XQP calls like IO$_ACCESS, READ/WRITEVBLK and friends.

(You soon appreciate how much work $PARSE is doing for you...)

Re: CRTL and RMS vs SSIO

<72fa91af-538c-43df-94c5-f4e598cc2140n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:283:: with SMTP id z3mr8690002qtw.324.1633655172215;
Thu, 07 Oct 2021 18:06:12 -0700 (PDT)
X-Received: by 2002:ac8:6d0b:: with SMTP id o11mr600017qtt.367.1633655171989;
Thu, 07 Oct 2021 18:06:11 -0700 (PDT)
Path: rocksolid2!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: Thu, 7 Oct 2021 18:06:11 -0700 (PDT)
In-Reply-To: <sjna64$h1f$1@dont-email.me>
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: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <72fa91af-538c-43df-94c5-f4e598cc2140n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 08 Oct 2021 01:06:12 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: Lawrence D’Oliveir - Fri, 8 Oct 2021 01:06 UTC

On Friday, October 8, 2021 at 6:19:02 AM UTC+13, Dave Froble wrote:
> As far as I know, QIO doesn't know a thing about RMS. Well, the
> directory structure does know RMS, and to an extent is RMS.

Last I checked*, on VMS, directories were just files, and there was no protection against processes with write access screwing up their contents. For some reason that was not considered to be a vital part of filesystem integrity.

RMS implements the full file/directory name syntax, but the management of name entries inside directories is an ACP/XQP function.

*decades ago, admittedly

Re: CRTL and RMS vs SSIO

<82e8bda1-4f9f-4cd6-b618-6ab99abee9edn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:98:: with SMTP id c24mr8991317qtg.267.1633655401554;
Thu, 07 Oct 2021 18:10:01 -0700 (PDT)
X-Received: by 2002:a0c:c1c9:: with SMTP id v9mr7445507qvh.31.1633655401456;
Thu, 07 Oct 2021 18:10:01 -0700 (PDT)
Path: rocksolid2!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: Thu, 7 Oct 2021 18:10:01 -0700 (PDT)
In-Reply-To: <sjnd04$lu3$2@dont-email.me>
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: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjmp1s$lmk$2@dont-email.me> <7fcb272f-b348-4603-b69b-f067672f3f83n@googlegroups.com>
<sjmqv3$953$1@dont-email.me> <sjn937$9oo$1@dont-email.me> <sjnd04$lu3$2@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <82e8bda1-4f9f-4cd6-b618-6ab99abee9edn@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 08 Oct 2021 01:10:01 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 11
 by: Lawrence D’Oliveir - Fri, 8 Oct 2021 01:10 UTC

On Friday, October 8, 2021 at 7:07:02 AM UTC+13, Simon Clubley wrote:
>
> On 2021-10-07, Dave Froble <da...@tsoft-inc.com> wrote:
>>
>> I'm guessing Unix files don't have metadata and such.
>>
> No, Unix doesn't. At Unix filesystem level, files are just a stream of bytes.

Some Linux filesystems have the concept of “extended attributes” <https://manpages.debian.org/buster/manpages/xattr.7.en.html>. Some are reserved for security purposes, others are user-defined.

Re: CRTL and RMS vs SSIO

<017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a0c:e109:: with SMTP id w9mr7512204qvk.24.1633655973431;
Thu, 07 Oct 2021 18:19:33 -0700 (PDT)
X-Received: by 2002:a37:2c41:: with SMTP id s62mr561615qkh.17.1633655973316;
Thu, 07 Oct 2021 18:19:33 -0700 (PDT)
Path: rocksolid2!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: Thu, 7 Oct 2021 18:19:33 -0700 (PDT)
In-Reply-To: <sjne7k$d5p$1@dont-email.me>
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: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com>
<sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com>
<memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com>
<sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
Subject: Re: CRTL and RMS vs SSIO
From: lawrence...@gmail.com (Lawrence D’Oliveiro)
Injection-Date: Fri, 08 Oct 2021 01:19:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 15
 by: Lawrence D’Oliveir - Fri, 8 Oct 2021 01:19 UTC

On Friday, October 8, 2021 at 7:28:07 AM UTC+13, Simon Clubley wrote:
> The same is true for VMS CLIs BTW. DCL is tightly bound into VMS
> in a horrible way it should not be. On Linux, both the command
> shell and filesystem architectures are vastly cleaner and more
> modular than they are on VMS.

Fundamental difference in mindset: process creation in VMS is expensive and to be avoided if possible, while on *nix systems it’s something you do as naturally as breathing.

And of course the VMS mindset continued over into Windows NT...

> However, if VMS had been designed in a later era ...

Note that Unix predates VMS. Folks at DEC would have been aware of it right from the early days, since it was born on DEC hardware.

Re: CRTL and RMS vs SSIO

<sjplsn$opl$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 10:51:03 -0400
Organization: HoffmanLabs LLC
Lines: 49
Message-ID: <sjplsn$opl$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjls47$q6s$1@dont-email.me> <sjmqed$73g$1@dont-email.me> <sjn6pu$pue$1@dont-email.me> <sjn95t$acq$1@dont-email.me> <sjnng5$cs4$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="4f51b128aeacd1b54317df14db84c374";
logging-data="25397"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/52QPTlF2I7FNr62+3S0tq9s3Vnac44p8="
User-Agent: Unison/2.2
Cancel-Lock: sha1:dxgi43np0HwYObDHDxyGbY/CucU=
 by: Stephen Hoffman - Fri, 8 Oct 2021 14:51 UTC

On 2021-10-07 21:03:53 +0000, Dave Froble said:

> On 10/7/2021 1:01 PM, Stephen Hoffman wrote:
>> On 2021-10-07 16:18:28 +0000, Dave Froble said:
>>
>>> I'm aware of how useful something like SSIO would be. I'm just
>>> appalled by the design and implementation. As mentioned, it seems
>>> aimed at just a few current uses, and totally ignores how useful it
>>> would be for many more future uses. This is rather consistent with the
>>> long time apathy with which VMS has been treated. It's more a patch
>>> than an enhancement. This is what I lament.
>>
>> Alas, there's no other outcome when upward-compatibility is an
>> overarching goal for the platform.
>
> Now I''m just a dumb polock, wandered down out of the woods. But I
> just don't see where upward compatibility has anything to do with
> enhancements to the DLM. If existing calls continue to work as before,
> and only when an optional extra parameter would enable new
> capabilities, then upward compatibility just cannot be an issue. At
> least for this.

I was building on the "long term apathy" and "more patch than
enhancement" comments, with the increasing difficulties even making
comparatively minor or isolated changes and updates.

Larger changes can be Really Difficult with ~40 years of accumunated
dependencies around, assuming the developers and schedule and funding
are all available. (q.v. Hyrum's Law.)

There are sections of OpenVMS that would best be ripped out and
replaced, or refactored, or re-architected, but that can't happen or
can't easily happen while staying compatible with existing apps.

DLM itself needs better abstractions as some of the more common tasks
are just absurdly involved to program within the existing API. Tasks
such as selecting a primary app server for a host or a cluster, for
instance. This is less of an issue for experienced OpenVMS programmers
and for those with access to examples (cost and schedule and budget and
ongoing support discussions aside), but this sequence is not something
at all obvious to less-experienced developers. And even with
experienced developers, mistakes still happen. And within a wider view,
this DLM primary support is building local process and job control
support, which is an omission I've commended on before.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjpo18$8lk$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 11:27:36 -0400
Organization: HoffmanLabs LLC
Lines: 52
Message-ID: <sjpo18$8lk$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjnecq$efk$1@dont-email.me> <sjnv29$p42$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="4f51b128aeacd1b54317df14db84c374";
logging-data="8884"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+H42cwPGPPlTsoUXqtmQ+JXqfYCBvK8QQ="
User-Agent: Unison/2.2
Cancel-Lock: sha1:NZzsubvyY9IOosR56gTuKWceXTo=
 by: Stephen Hoffman - Fri, 8 Oct 2021 15:27 UTC

On 2021-10-07 23:15:19 +0000, Craig A. Berry said:

> On 10/7/21 1:30 PM, Stephen Hoffman wrote:
>> On 2021-10-07 17:16:03 +0000, Dave Froble said:
>
>
>>> I don't use C, so I don't know much about it.  But isn't this
>>> capability already available?
>>
>> The C standard functions—the equivalent of the BASIC calls OPEN, READ,
>> WRITE, et al—are via RMS. There's no knob to tell C "don't do that".
>
> You're pretending that you don't know about the foo="bar" options on
> the CRTL open/fopen/creat calls. Yes, it's all via RMS, but you can
> tell it to do or not do certain things. And the feature logicals, of
> course, but it might be dinnertime in your time zone and I wouldn't
> want to give you indigestion :-).

I need to pretend harder, or to forget harder, then. I'm sufficiently
familiar with those C options and with the acc routines and with my
always-favorite C feature logical names and the lib$initialize psect
fun to often prefer use of $qio or $io_perform when suppression of RMS
"helpfulness" is sought, yes. Even with all those knobs, "well, there's
egg and bacon; egg sausage and bacon; egg and RMS; egg bacon and RMS;
egg bacon sausage and RMS; RMS bacon sausage and RMS; RMS egg RMS bacon
and RMS; RMS sausage RMS bacon RMS..." "Do you have anything without
RMS (getting "helpful")?" https://vimeo.com/329001211

Too many C design quirks awaiting the unwary or the uninitiated here,
too; where you have to add options to remove platform-specific oddities
(see above), where basename works for Unix specs but not for OpenVMS
specs, how select only works for IP, where VFC is the default
sequential file creation format, the need for the moving target that is
lib$initialize, and the decc$to_vms and decc$from_vms calling
conventions. And suchlike.

This is part of why I'd prefer to see a new C standard library within
the port, and to relegate the existing standard library for use by
existing apps.

> But from BASIC, yes, I think you have to write wrappers around the CRTL
> functions and then call them from BASIC, or at least that's what I did
> the one time I had to write stream files from BASIC.

I'd expect there's BASIC code around that doesn't handle TCP streams
all that well, either. Similar issues. Punched cards are really
entrenched all through OpenVMS.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjpojk$ctb$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 11:37:24 -0400
Organization: HoffmanLabs LLC
Lines: 30
Message-ID: <sjpojk$ctb$1@dont-email.me>
References: <f6facaf0-9c78-412b-9554-894446c58d19n@googlegroups.com> <sjk5fb$e1h$1@dont-email.me> <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjn42o$74b$1@dont-email.me> <sjna64$h1f$1@dont-email.me> <sjne7k$d5p$1@dont-email.me> <017aaebb-cd45-4871-be8a-9136d4d27456n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader02.eternal-september.org; posting-host="4f51b128aeacd1b54317df14db84c374";
logging-data="13227"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182N1oE1WXfIPAdOU9N6XC+THdn0xX6y3g="
User-Agent: Unison/2.2
Cancel-Lock: sha1:nkljjXzqV1fNZVV4hsZTFNL9LFg=
 by: Stephen Hoffman - Fri, 8 Oct 2021 15:37 UTC

On 2021-10-08 01:19:33 +0000, Lawrence D’Oliveiro said:

> On Friday, October 8, 2021 at 7:28:07 AM UTC+13, Simon Clubley wrote:
>> The same is true for VMS CLIs BTW. DCL is tightly bound into VMS in a
>> horrible way it should not be. On Linux, both the command shell and
>> filesystem architectures are vastly cleaner and more modular than they
>> are on VMS.
> Fundamental difference in mindset: process creation in VMS is expensive
> and to be avoided if possible, while on *nix systems it’s something you
> do as naturally as breathing.

VAX-era wisdom, and which is clung on. Creating new processes on
OpenVMS never got as light as Unix, but the overhead has become
negligible on modern systems for all but industrial-scale
creation-deletion.

Having looked at this back in the VAX era, the slow process creations
our apps were incurring were arising from inefficiencies within the DCL
spawn-related processing, and not from within the OpenVMS process
creation overhead.

Once that was identified and the obvious work-around implemented,
spawns were pretty speedy even VAX-era.

To Simon's comment, how DCL gets mapped into process address space is
just ugly, too. And hard to debug.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: CRTL and RMS vs SSIO

<sjq23f$2rc$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!news.mixmin.net!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: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 18:19:27 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <sjq23f$2rc$2@dont-email.me>
References: <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjls47$q6s$1@dont-email.me> <sjmqed$73g$1@dont-email.me> <sjn6pu$pue$1@dont-email.me> <sjn95t$acq$1@dont-email.me> <sjnng5$cs4$1@dont-email.me>
Injection-Date: Fri, 8 Oct 2021 18:19:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a674aefec0e092ca66ac40a5975e36ee";
logging-data="2924"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/MyNKW/J6WhCo9ErJJZJ+IhXGJsjDADfo="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:lU5GqjoO2lfuHRAUCrTKZe0D4Qw=
 by: Simon Clubley - Fri, 8 Oct 2021 18:19 UTC

On 2021-10-07, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Now I''m just a dumb polock, wandered down out of the woods. But I just
> don't see where upward compatibility has anything to do with
> enhancements to the DLM. If existing calls continue to work as before,
> and only when an optional extra parameter would enable new capabilities,
> then upward compatibility just cannot be an issue. At least for this.
>

Is there a version number on the current inter-node DLM messages ?

If not, how can you change the DLM message structure in a compatible way ?

If yes, what happens when an older node sees a later format DLM message ?
You would at least need a compatibility kit to be installed on the older
nodes.

> The optional parameter might be a "lock type", and if not present,
> existing logic would be used, and if present, new code could be executed
> to process the new lock type. Stuff a couple of quadwords into the
> resource name for the numeric range. It would add one new piece of data
> to the DLM data structure(s).
>

What about the DLM messages sent between nodes ?

Simon.

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

Re: CRTL and RMS vs SSIO

<sjq2bg$2rc$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: rocksolid2!news.neodome.net!weretis.net!feeder8.news.weretis.net!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: CRTL and RMS vs SSIO
Date: Fri, 8 Oct 2021 18:23:44 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <sjq2bg$2rc$3@dont-email.me>
References: <4e4ac776-f43f-4a84-8846-7fd0b6d949een@googlegroups.com> <memo.20211006200440.12252G@jgd.cix.co.uk> <b40117b2-d8fd-4fbb-b528-e67d4a9c79can@googlegroups.com> <sjmp1s$lmk$2@dont-email.me> <7fcb272f-b348-4603-b69b-f067672f3f83n@googlegroups.com> <sjmqv3$953$1@dont-email.me> <sjn937$9oo$1@dont-email.me> <sjnd04$lu3$2@dont-email.me> <82e8bda1-4f9f-4cd6-b618-6ab99abee9edn@googlegroups.com>
Injection-Date: Fri, 8 Oct 2021 18:23:44 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="a674aefec0e092ca66ac40a5975e36ee";
logging-data="2924"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1869k/CIyUdWcbXfXuv8W2yoIZq3mYTHXk="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:1JcaFUb4ZVlgd4Ga2Hm2u0P8SFE=
 by: Simon Clubley - Fri, 8 Oct 2021 18:23 UTC

On 2021-10-07, Lawrence D?Oliveiro <lawrencedo99@gmail.com> wrote:
> On Friday, October 8, 2021 at 7:07:02 AM UTC+13, Simon Clubley wrote:
>>
>> On 2021-10-07, Dave Froble <da...@tsoft-inc.com> wrote:
>>>
>>> I'm guessing Unix files don't have metadata and such.
>>>
>> No, Unix doesn't. At Unix filesystem level, files are just a stream of bytes.
>
> Some Linux filesystems have the concept of ?extended attributes? <https://manpages.debian.org/buster/manpages/xattr.7.en.html>. Some are reserved for security purposes, others are user-defined.

That's true and I do use them. However, at filesystem level, the
file data itself is just a stream of bytes without any embedded metadata
(unlike on VMS).

Simon.

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


computers / comp.os.vms / Re: CRTL and RMS vs SSIO

Pages:123456789101112131415
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor