Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Vulcans worship peace above all. -- McCoy, "Return to Tomorrow", stardate 4768.3


computers / comp.os.vms / Re: Use of logical names other than I/O redirection

SubjectAuthor
* Use of logical names other than I/O redirectionalanfe...@gmail.com
+* Re: Use of logical names other than I/O redirectionabrsvc
|+- Re: Use of logical names other than I/O redirectionPhillip Helbig (undress to reply
|`- Re: Use of logical names other than I/O redirectionalanfe...@gmail.com
+* Re: Use of logical names other than I/O redirectionArne Vajhøj
|+- Re: Use of logical names other than I/O redirectionJan-Erik Söderholm
|`* Re: Use of logical names other than I/O redirectionalanfe...@gmail.com
| +- Re: Use of logical names other than I/O redirectionalanfe...@gmail.com
| +* Re: Use of logical names other than I/O redirectionBob Gezelter
| |`- Re: Use of logical names other than I/O redirectionCraig A. Berry
| +* Re: Use of logical names other than I/O redirectionStephen Hoffman
| |`* Re: Use of logical names other than I/O redirectionalanfe...@gmail.com
| | `- Re: Use of logical names other than I/O redirectionPhillip Helbig (undress to reply
| `- Re: Use of logical names other than I/O redirectionPhillip Helbig (undress to reply
+* Re: Use of logical names other than I/O redirectionBob Gezelter
|`- Re: Use of logical names other than I/O redirectionMarc Van Dyck
+* Re: Use of logical names other than I/O redirectionMarc Van Dyck
|`* Re: Use of logical names other than I/O redirectionArne Vajhøj
| `* Re: Use of logical names other than I/O redirectionMarc Van Dyck
|  +- Re: Use of logical names other than I/O redirectionBob Gezelter
|  +* Re: Use of logical names other than I/O redirectionStephen Hoffman
|  |`- Re: Use of logical names other than I/O redirectionDave Froble
|  `* Re: Use of logical names other than I/O redirectionArne Vajhøj
|   +* Re: Use of logical names other than I/O redirectionMarc Van Dyck
|   |`* Re: Use of logical names other than I/O redirectionJan-Erik Söderholm
|   | `* Re: Use of logical names other than I/O redirectionabrsvc
|   |  `* Re: Use of logical names other than I/O redirectionJonathan
|   |   `- Re: Use of logical names other than I/O redirectionDavid Jones
|   `* Re: Use of logical names other than I/O redirectionBob Gezelter
|    `- Re: Use of logical names other than I/O redirectionArne Vajhøj
+- Re: Use of logical names other than I/O redirectionStephen Hoffman
+- Re: Use of logical names other than I/O redirectionDavid Jones
`- Re: Use of logical names other than I/O redirectionPhillip Helbig (undress to reply

Pages:12
Use of logical names other than I/O redirection

<60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:1c83:b0:46b:a79a:2f0b with SMTP id ib3-20020a0562141c8300b0046ba79a2f0bmr17605692qvb.103.1662852906884;
Sat, 10 Sep 2022 16:35:06 -0700 (PDT)
X-Received: by 2002:ac8:5dd1:0:b0:35b:8c96:d856 with SMTP id
e17-20020ac85dd1000000b0035b8c96d856mr8003700qtx.492.1662852906732; Sat, 10
Sep 2022 16:35:06 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Sat, 10 Sep 2022 16:35:06 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=173.54.236.44; posting-account=mCRRdgoAAAAonHT6WInwG1Fadnh7R0dx
NNTP-Posting-Host: 173.54.236.44
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
Subject: Use of logical names other than I/O redirection
From: alanfeld...@gmail.com (alanfe...@gmail.com)
Injection-Date: Sat, 10 Sep 2022 23:35:06 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1297
 by: alanfe...@gmail.com - Sat, 10 Sep 2022 23:35 UTC

Greetings.

I recall Hoff once lamenting about logical names. He said they are mostly good for I/O redirection. And, IIRC, not liking using them to store application data.

I was wondering how people here (esp. Hoff!) feel about their use in batch queues and mail.

Just askin'.

Re: Use of logical names other than I/O redirection

<4f5300c2-b306-43be-bf63-ece6052e3578n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5889:0:b0:344:57e5:dc54 with SMTP id t9-20020ac85889000000b0034457e5dc54mr18263570qta.465.1662853760482;
Sat, 10 Sep 2022 16:49:20 -0700 (PDT)
X-Received: by 2002:a05:6214:27c6:b0:4ac:94f9:c727 with SMTP id
ge6-20020a05621427c600b004ac94f9c727mr5779046qvb.51.1662853760362; Sat, 10
Sep 2022 16:49:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.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: Sat, 10 Sep 2022 16:49:20 -0700 (PDT)
In-Reply-To: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:4040:5ed8:3d00:ada3:7507:3d92:b592;
posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 2600:4040:5ed8:3d00:ada3:7507:3d92:b592
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4f5300c2-b306-43be-bf63-ece6052e3578n@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Sat, 10 Sep 2022 23:49:20 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 23
 by: abrsvc - Sat, 10 Sep 2022 23:49 UTC

On Saturday, September 10, 2022 at 7:35:08 PM UTC-4, alanfe...@gmail.com wrote:
> Greetings.
>
> I recall Hoff once lamenting about logical names. He said they are mostly good for I/O redirection. And, IIRC, not liking using them to store application data.
>
> I was wondering how people here (esp. Hoff!) feel about their use in batch queues and mail.
>
> Just askin'.

I have used them for creating separate environments for clients. Modifying the search order and adding application specific tables, using group level tables to create a complete environment separate from others, etc. Gave a talk about this at a bootcamp once.

I have seen logical names used as status strings, application "switches" and other things too.

Many uses, some good, some not so much.

Dan

Re: Use of logical names other than I/O redirection

<631d2b97$0$703$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sat, 10 Sep 2022 20:27:58 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Subject: Re: Use of logical names other than I/O redirection
Content-Language: en-US
Newsgroups: comp.os.vms
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 23
Message-ID: <631d2b97$0$703$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 781c5d4a.news.sunsite.dk
X-Trace: 1662856087 news.sunsite.dk 703 arne@vajhoej.dk/68.9.63.232:63468
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sun, 11 Sep 2022 00:27 UTC

On 9/10/2022 7:35 PM, alanfe...@gmail.com wrote:
> I recall Hoff once lamenting about logical names. He said they are
> mostly good for I/O redirection. And, IIRC, not liking using them to
> store application data.
>
> I was wondering how people here (esp. Hoff!) feel about their use in
> batch queues and mail.

My opinion:

files & directories => great
configuration => ok but a bit of a hack - a config file or command line
switch is usually better
process communication => bad - use something else

If for batch queue you mean a logical name pointing to a batch queue,
then I think it is fine - it is similar to files and directories.

If for mail you mean logicals used by EVE to auto format mail,
then it is a hack, but a hack that I have been using myself. If
something else please elaborate.

Arne

Re: Use of logical names other than I/O redirection

<tfk9rj$1s7se$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Sun, 11 Sep 2022 11:30:27 +0200
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <tfk9rj$1s7se$1@dont-email.me>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<631d2b97$0$703$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 11 Sep 2022 09:30:27 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e6af61cb298d5a449ff403fb651c7d90";
logging-data="1974158"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19teFnWqc5S1fvdoO3VDcZl"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.1.1
Cancel-Lock: sha1:f8/AmQNO744yQ0GEYV5HY9EHHhs=
In-Reply-To: <631d2b97$0$703$14726298@news.sunsite.dk>
Content-Language: sv
 by: Jan-Erik Söderholm - Sun, 11 Sep 2022 09:30 UTC

Den 2022-09-11 kl. 02:27, skrev Arne Vajhøj:
> On 9/10/2022 7:35 PM, alanfe...@gmail.com wrote:
>> I recall Hoff once lamenting about logical names. He said they are
>> mostly good for I/O redirection. And, IIRC, not liking using them to
>> store application data.
>>
>> I was wondering how people here (esp. Hoff!) feel about their use in
>> batch queues and mail.
>
> My opinion:
>
> files & directories => great
> configuration => ok but a bit of a hack - a config file or command line
> switch is usually better
> process communication => bad - use something else
>
> If for batch queue you mean a logical name pointing to a batch queue,
> then I think it is fine - it is similar to files and directories.
>
> If for mail you mean logicals used by EVE to auto format mail,
> then it is a hack, but a hack that I have been using myself. If
> something else please elaborate.
>
> Arne

We use log names a lot for naming ports to equipment and workplaces.

Like the two Zebra label printers at packing workplace number 36:

$ sh log P36PRT*
"P36PRT1" = "TNA2010:"
"P36PRT2" = "TNA2011:"

The TNA device can change from day to day, but always
point to the IP addresses of these printers, of course.
And the application doesn't need to know (the logical name
is used as-is in the QIOW call) which is the whole point
with logical names, of course.

Re: Use of logical names other than I/O redirection

<04a550a7-a6b6-4e1a-b53a-940d04d3f12fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:6905:0:b0:6bb:5827:e658 with SMTP id e5-20020a376905000000b006bb5827e658mr15831192qkc.735.1662888792966;
Sun, 11 Sep 2022 02:33:12 -0700 (PDT)
X-Received: by 2002:a05:622a:194:b0:35b:ab0a:56d5 with SMTP id
s20-20020a05622a019400b0035bab0a56d5mr4283941qtw.598.1662888792808; Sun, 11
Sep 2022 02:33:12 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Sun, 11 Sep 2022 02:33:12 -0700 (PDT)
In-Reply-To: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.75.28; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.75.28
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <04a550a7-a6b6-4e1a-b53a-940d04d3f12fn@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Sun, 11 Sep 2022 09:33:12 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2772
 by: Bob Gezelter - Sun, 11 Sep 2022 09:33 UTC

On Saturday, September 10, 2022 at 7:35:08 PM UTC-4, alanfe...@gmail.com wrote:
> Greetings.
>
> I recall Hoff once lamenting about logical names. He said they are mostly good for I/O redirection. And, IIRC, not liking using them to store application data.
>
> I was wondering how people here (esp. Hoff!) feel about their use in batch queues and mail.
>
> Just askin'.
Alan,

I generally agree with Dan. Almost twenty years ago, 2004 to be precise, I authored an OpenVMS Technical Journal article entitled "Inheritance Based Environments in Stand-alone OpenVMS Systems and OpenVMS Clusters". It is available on my www site at: http://www.rlgsc.com/publications/vmstechjournal/inheritance.html.

Realtime use to signal status is sometimes seen, and is safe so long as there is a single writer. If there are multiple writers, the classic dangers of multiple modifiers of uninterlocked storage locations apply. At today's speeds, this is an ever more serious hazard. In "Resolving the Contention Problem with ASSIGN/DEFINE" (http://www.rlgsc.com/blog/openvms-consultant/assign-define-contention.html) I proposed the addition of a interlocking /COMPARE:"<string>" qualifier to ASSIGN/DEFINE to transform the underlying $CRELNM system service from a simple assignment to a "Compare&Swap" semantic.

IMHO, the use of logical names for Batch/Print queues and email is a reasonable practice. It is actually the subject of an upcoming column in my "OpenVMS Consultant" series.

- Bob Gezelter, http://www.rlgsc.com

Re: Use of logical names other than I/O redirection

<mn.5c337e697dffe45b.104627@invalid.skynet.be>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!En8owL5it4/3ZskmBb92KA.user.46.165.242.75.POSTED!not-for-mail
From: marc.gr....@invalid.skynet.be (Marc Van Dyck)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Sun, 11 Sep 2022 17:55:58 +0200
Organization: Aioe.org NNTP Server
Message-ID: <mn.5c337e697dffe45b.104627@invalid.skynet.be>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="31619"; posting-host="En8owL5it4/3ZskmBb92KA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Face: #0?irvdFiM!(Tpl}/tO%_kuSW_^9G5aeIEnY1uNPcd@N_U.B30\*[%N-cnqSC,rEfeq\m:b oR({RM{x03]Iv}^2xc7\J][^MkbL3DYdLevZ$&h0WbH!i:>O1i#FLy/mO2G~xMF<YSj^@q9sRC~iP> *uQnfN4xre8v9%0fqg;i.!ymm~6w2nEx);Q~Q*8&dUO(fn
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: MesNews/1.08.06.00-gb
 by: Marc Van Dyck - Sun, 11 Sep 2022 15:55 UTC

It happens that alanfe...@gmail.com formulated :
> Greetings.
>
> I recall Hoff once lamenting about logical names. He said they are mostly
> good for I/O redirection. And, IIRC, not liking using them to store
> application data.
>
> I was wondering how people here (esp. Hoff!) feel about their use in batch
> queues and mail.
>
> Just askin'.

I consider logical names to be the equivalent of the windows registry.
Anything I need to store and that doesn't warrant a file is fair game.
Devices, directories, and files, of course, but also queue and device
names. And then everything else : statuses, switches, application
running modes, IP addresses, ... If read by 3GL code, it can even be
non printable ascii or binary, like VMS itself does it with licenses
in LMF$LICENSE_TABLE. I consider that much more convenient than
configuration or .INI files.

--
Marc Van Dyck

Re: Use of logical names other than I/O redirection

<mn.5c387e6902a3b5aa.104627@invalid.skynet.be>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!En8owL5it4/3ZskmBb92KA.user.46.165.242.75.POSTED!not-for-mail
From: marc.gr....@invalid.skynet.be (Marc Van Dyck)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Sun, 11 Sep 2022 18:00:46 +0200
Organization: Aioe.org NNTP Server
Message-ID: <mn.5c387e6902a3b5aa.104627@invalid.skynet.be>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com> <04a550a7-a6b6-4e1a-b53a-940d04d3f12fn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="35484"; posting-host="En8owL5it4/3ZskmBb92KA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Face: #0?irvdFiM!(Tpl}/tO%_kuSW_^9G5aeIEnY1uNPcd@N_U.B30\*[%N-cnqSC,rEfeq\m:b oR({RM{x03]Iv}^2xc7\J][^MkbL3DYdLevZ$&h0WbH!i:>O1i#FLy/mO2G~xMF<YSj^@q9sRC~iP> *uQnfN4xre8v9%0fqg;i.!ymm~6w2nEx);Q~Q*8&dUO(fn
X-Newsreader: MesNews/1.08.06.00-gb
X-Notice: Filtered by postfilter v. 0.9.2
 by: Marc Van Dyck - Sun, 11 Sep 2022 16:00 UTC

Bob Gezelter explained :
> If there are multiple writers, the classic dangers of
> multiple modifiers of uninterlocked storage locations apply. At today's
> speeds, this is an ever more serious hazard.

To get around this issue, I wrote a DCL jacket around $ENQ/$DEQ system
services. Anyone wanting to read or write in a shared table must
acquire
the corresponding lock beforehand and release it afterwards. Never
failed on me.

--
Marc Van Dyck

Re: Use of logical names other than I/O redirection

<tfldm9$214qh$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Sun, 11 Sep 2022 15:42:01 -0400
Organization: HoffmanLabs LLC
Lines: 57
Message-ID: <tfldm9$214qh$1@dont-email.me>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="ce49a6c281305d30508cf86a48957e11";
logging-data="2134865"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/swt1E7TB3J++5DIAMvQ0UmtwgqlAnm2s="
User-Agent: Unison/2.2
Cancel-Lock: sha1:4Ef9lCYVt1GW3RMp8sbRh8WJNIw=
 by: Stephen Hoffman - Sun, 11 Sep 2022 19:42 UTC

On 2022-09-10 23:35:06 +0000, alanfe...@gmail.com said:

> I recall Hoff once lamenting about logical names. He said they are
> mostly good for I/O redirection. And, IIRC, not liking using them to
> store application data.
>
> I was wondering how people here (esp. Hoff!) feel about their use in
> batch queues and mail.

The use of logical names within batch and mail... for what?

The OpenVMS mail app, batch-print for process control and scheduling,
and logical names as a volatile and exceedingly limited key-value
store, sure, if you're in the previous millennium, or have never met a
more modern app configuration data storage API.

There's no good alternative for I/O redirection on OpenVMS, which also
happens with email addresses and mail, and with batch-print and such.
Which where I'll usually use logical names.

There are better alternatives for app configuration data, and for
key-value stores. Unfortunately, OpenVMS forces app developers to write
their own here, past some DECwindows stuff and ilk, and probably tools
in Perl, Python, and Java, etc.

Not great, but more workable, less disjoint, app-local, and decidedly
less volatile:
https://developer.apple.com/documentation/foundation/preferences

Look at the OpenVMS C and Java run-time configuration logical names for
some of how storing configuration data becomes problematic.

Using and parsing logical names to read configuration data is something
I've done... but really don't prefer doing.

Having your app settings and your redirections disjoint and scattered
in files all over the place in a volatile and limited key-value store,
and parsing user-provided input, just gets... tedious.

And there's no way to adapt to future changes compatibly with a bevy of
logical names, given the lack of wildcards in the API. (This is a
variation of how RMS files can grow in numbers. q.v. cluster
configuration database. Which also uses logical names.)

OpenVMS lacks robust integration with LDAP and lacks robust app
configuration data storage, and lacks robust process management and
scheduling services, among other limits.

If you wanted a bad and volatile and file-disjoint ancestor of the
Windows registry, or want to write lots of your own code, logical names
absolutely do have you covered, of course.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Use of logical names other than I/O redirection

<631e6134$0$701$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Sun, 11 Sep 2022 18:29:05 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Subject: Re: Use of logical names other than I/O redirection
Content-Language: en-US
Newsgroups: comp.os.vms
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <mn.5c337e697dffe45b.104627@invalid.skynet.be>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 42
Message-ID: <631e6134$0$701$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: ae30c77a.news.sunsite.dk
X-Trace: 1662935348 news.sunsite.dk 701 arne@vajhoej.dk/68.9.63.232:50361
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Sun, 11 Sep 2022 22:29 UTC

On 9/11/2022 11:55 AM, Marc Van Dyck wrote:
> It happens that alanfe...@gmail.com formulated :
>> Greetings.
>> I recall Hoff once lamenting about logical names. He said they are
>> mostly good for I/O redirection. And, IIRC, not liking using them to
>> store application data.
>>
>> I was wondering how people here (esp. Hoff!) feel about their use in
>> batch queues and mail.
>>
>> Just askin'.
>
> I consider logical names to be the equivalent of the windows registry.
> Anything I need to store and that doesn't warrant a file is fair game.

(cut out some usage that I agree with)

> If read by 3GL code, it can even be
> non printable ascii or binary, like VMS itself does it with licenses
> in LMF$LICENSE_TABLE. I consider that much more convenient than
> configuration or .INI files.

I see a few problems with that:
1) Logical names are not automatically persisted. They rely on
being defined at startup. Of course necessary logicals should
be set in the startup procedures, but we all know that
"should" is not 100% reliable.
2) The connection between application and logical names is
not always easy to make. It is way easier to connect a
config file in the app directory with that app.
3) Logical names does not scale well. 50 fine, 100 fine,
200 fine but 100000 does not work. Windows registry is
a fine example of something that has become so big that
it is difficult to find things.

MS has also concluded that. Various old technologies including
COM used registry extensively, but .NET use config files
in app directory (either XML or JSON depending on .NET
version).

Arne

Re: Use of logical names other than I/O redirection

<eac28165-bb80-4bd8-98bb-4d6c91ba4f08n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5acc:0:b0:35b:b658:4af8 with SMTP id d12-20020ac85acc000000b0035bb6584af8mr2866523qtd.625.1662989794833;
Mon, 12 Sep 2022 06:36:34 -0700 (PDT)
X-Received: by 2002:a05:620a:ed2:b0:6cc:f946:bad4 with SMTP id
x18-20020a05620a0ed200b006ccf946bad4mr10966830qkm.563.1662989794636; Mon, 12
Sep 2022 06:36:34 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Mon, 12 Sep 2022 06:36:34 -0700 (PDT)
In-Reply-To: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=104.231.150.181; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 104.231.150.181
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eac28165-bb80-4bd8-98bb-4d6c91ba4f08n@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: osuvma...@gmail.com (David Jones)
Injection-Date: Mon, 12 Sep 2022 13:36:34 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2424
 by: David Jones - Mon, 12 Sep 2022 13:36 UTC

On Saturday, September 10, 2022 at 7:35:08 PM UTC-4, alanfe...@gmail.com wrote:
> Greetings.
>
> I recall Hoff once lamenting about logical names. He said they are mostly good for I/O redirection. And, IIRC, not liking using them to store application data.
>
> I was wondering how people here (esp. Hoff!) feel about their use in batch queues and mail.

I use VMS mail very little these days. Submitting to a queue by its logical name seems
sensible me. Programs by default submit to SYS$BATCH/SYS$PRINT, so a mechanism
to redirect those is handy.

IIRC, the original incarnation of logical names gave each a single value and you only had
process, group, and system tables. The latter 2 required privilege to (GRPNAM, SYSNAM)
to add names, since they were shared resources ($CREMBX added to the group table for
temporary mailboxes and system table for permanent, gated by different privilege bits).
The features that came with the big overhaul in OpenVMS 4 made abuse much more
tempting. My SSH server, for example, posted information about active connections to a
logical special logical name table so the system manager could easily see where the
connections were coming from (and match up the TCP port number with the connection
so she could kill it).

Re: Use of logical names other than I/O redirection

<54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1303:b0:343:4d9b:46de with SMTP id v3-20020a05622a130300b003434d9b46demr24930009qtk.498.1663006690252;
Mon, 12 Sep 2022 11:18:10 -0700 (PDT)
X-Received: by 2002:a0c:da14:0:b0:4aa:aad9:e450 with SMTP id
x20-20020a0cda14000000b004aaaad9e450mr24408628qvj.130.1663006690096; Mon, 12
Sep 2022 11:18:10 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Mon, 12 Sep 2022 11:18:09 -0700 (PDT)
In-Reply-To: <631d2b97$0$703$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=173.54.236.44; posting-account=mCRRdgoAAAAonHT6WInwG1Fadnh7R0dx
NNTP-Posting-Host: 173.54.236.44
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com> <631d2b97$0$703$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: alanfeld...@gmail.com (alanfe...@gmail.com)
Injection-Date: Mon, 12 Sep 2022 18:18:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2651
 by: alanfe...@gmail.com - Mon, 12 Sep 2022 18:18 UTC

On Saturday, September 10, 2022 at 8:28:10 PM UTC-4, Arne Vajhøj wrote:
> On 9/10/2022 7:35 PM, alanfe...@gmail.com wrote:
> > I recall Hoff once lamenting about logical names. He said they are
> > mostly good for I/O redirection. And, IIRC, not liking using them to
> > store application data.
> >
> > I was wondering how people here (esp. Hoff!) feel about their use in
> > batch queues and mail.
> My opinion:
>
> files & directories => great
> configuration => ok but a bit of a hack - a config file or command line
> switch is usually better
> process communication => bad - use something else
>
> If for batch queue you mean a logical name pointing to a batch queue,
> then I think it is fine - it is similar to files and directories.
>
> If for mail you mean logicals used by EVE to auto format mail,
> then it is a hack, but a hack that I have been using myself. If
> something else please elaborate.
>
> Arne

You can use logical names for recipients! I don't know if this is a true story, but someone did a
$ DEFINE MORON <user-address>
And when the person received it, it should that it was sent to MORON!

I suppose that's harmless enough for personal use. I suppose one could make "public" logical names for positions like systems administrator, or HR Head, who might change from time to time.

Re: Use of logical names other than I/O redirection

<e8613e4a-5435-4347-b5ef-8a283cd339cdn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:60a:b0:344:5843:aac0 with SMTP id z10-20020a05622a060a00b003445843aac0mr24280731qta.459.1663007120451;
Mon, 12 Sep 2022 11:25:20 -0700 (PDT)
X-Received: by 2002:ad4:5ce9:0:b0:49f:f094:a134 with SMTP id
iv9-20020ad45ce9000000b0049ff094a134mr24221783qvb.40.1663007120252; Mon, 12
Sep 2022 11:25:20 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!border-1.nntp.ord.giganews.com!border-2.nntp.ord.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: Mon, 12 Sep 2022 11:25:20 -0700 (PDT)
In-Reply-To: <54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=173.54.236.44; posting-account=mCRRdgoAAAAonHT6WInwG1Fadnh7R0dx
NNTP-Posting-Host: 173.54.236.44
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<631d2b97$0$703$14726298@news.sunsite.dk> <54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e8613e4a-5435-4347-b5ef-8a283cd339cdn@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: alanfeld...@gmail.com (alanfe...@gmail.com)
Injection-Date: Mon, 12 Sep 2022 18:25:20 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: alanfe...@gmail.com - Mon, 12 Sep 2022 18:25 UTC

On Monday, September 12, 2022 at 2:18:11 PM UTC-4, alanfe...@gmail.com wrote:
[...]
> You can use logical names for recipients! I don't know if this is a true story, but someone did a
> $ DEFINE MORON <user-address>
> And when the person received it, it should that it was sent to MORON!

Uh, make that "showed", not "should."

[...]

Re: Use of logical names other than I/O redirection

<61a1d60d-685d-42a2-b5fc-7ca4484e8631n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:17aa:b0:6ce:5fe3:1c35 with SMTP id ay42-20020a05620a17aa00b006ce5fe31c35mr1141620qkb.337.1663008221112;
Mon, 12 Sep 2022 11:43:41 -0700 (PDT)
X-Received: by 2002:a05:620a:ed2:b0:6cc:f946:bad4 with SMTP id
x18-20020a05620a0ed200b006ccf946bad4mr12019665qkm.563.1663008220867; Mon, 12
Sep 2022 11:43:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Mon, 12 Sep 2022 11:43:40 -0700 (PDT)
In-Reply-To: <54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.75.28; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.75.28
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<631d2b97$0$703$14726298@news.sunsite.dk> <54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <61a1d60d-685d-42a2-b5fc-7ca4484e8631n@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Mon, 12 Sep 2022 18:43:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3087
 by: Bob Gezelter - Mon, 12 Sep 2022 18:43 UTC

On Monday, September 12, 2022 at 2:18:11 PM UTC-4, alanfe...@gmail.com wrote:
> On Saturday, September 10, 2022 at 8:28:10 PM UTC-4, Arne Vajhøj wrote:
> > On 9/10/2022 7:35 PM, alanfe...@gmail.com wrote:
> > > I recall Hoff once lamenting about logical names. He said they are
> > > mostly good for I/O redirection. And, IIRC, not liking using them to
> > > store application data.
> > >
> > > I was wondering how people here (esp. Hoff!) feel about their use in
> > > batch queues and mail.
> > My opinion:
> >
> > files & directories => great
> > configuration => ok but a bit of a hack - a config file or command line
> > switch is usually better
> > process communication => bad - use something else
> >
> > If for batch queue you mean a logical name pointing to a batch queue,
> > then I think it is fine - it is similar to files and directories.
> >
> > If for mail you mean logicals used by EVE to auto format mail,
> > then it is a hack, but a hack that I have been using myself. If
> > something else please elaborate.
> >
> > Arne
> You can use logical names for recipients! I don't know if this is a true story, but someone did a
> $ DEFINE MORON <user-address>
> And when the person received it, it should that it was sent to MORON!
>
> I suppose that's harmless enough for personal use. I suppose one could make "public" logical names for positions like systems administrator, or HR Head, who might change from time to time.
Alan,

For role-based addressing, a practice I recommended in multiple editions of the "Computer Security Handbook", SET /FORWARD is a better choice than logical names.

- Bob Gezelter, http://www.rlgsc.com

Re: Use of logical names other than I/O redirection

<tfo39g$2b7rk$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Mon, 12 Sep 2022 15:02:56 -0500
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <tfo39g$2b7rk$1@dont-email.me>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<631d2b97$0$703$14726298@news.sunsite.dk>
<54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>
<61a1d60d-685d-42a2-b5fc-7ca4484e8631n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 12 Sep 2022 20:02:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="21810fc3283a3444f450409c7c7eea4b";
logging-data="2465652"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ycSvRWOf9nR3FuHjp8FtQP9fSDqEfGBk="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.2.2
Cancel-Lock: sha1:v2A36vr9rR+fbi2zNORuyz+09bo=
Content-Language: en-US
In-Reply-To: <61a1d60d-685d-42a2-b5fc-7ca4484e8631n@googlegroups.com>
 by: Craig A. Berry - Mon, 12 Sep 2022 20:02 UTC

On 9/12/22 1:43 PM, Bob Gezelter wrote:
> On Monday, September 12, 2022 at 2:18:11 PM UTC-4, alanfe...@gmail.com wrote:

>> You can use logical names for recipients! I don't know if this is a true story, but someone did a
>> $ DEFINE MORON <user-address>
>> And when the person received it, it should that it was sent to MORON!
>>
>> I suppose that's harmless enough for personal use. I suppose one could make "public" logical names for positions like systems administrator, or HR Head, who might change from time to time.
> Alan,
>
> For role-based addressing, a practice I recommended in multiple editions of the "Computer Security Handbook", SET /FORWARD is a better choice than logical names.
>

Why not distribution lists?

Re: Use of logical names other than I/O redirection

<tfo5ge$2bh3u$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Mon, 12 Sep 2022 16:40:46 -0400
Organization: HoffmanLabs LLC
Lines: 51
Message-ID: <tfo5ge$2bh3u$1@dont-email.me>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com> <631d2b97$0$703$14726298@news.sunsite.dk> <54860c09-5d3c-463a-bf92-860704d9700dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="136911f58daf48e72fe2e205b47a886c";
logging-data="2475134"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MlB4fyV1JMn4D0WzB+Gh8gRcVQnWXwLs="
User-Agent: Unison/2.2
Cancel-Lock: sha1:3LQqizjJEBnUk7ALhAVVeFuuwwI=
 by: Stephen Hoffman - Mon, 12 Sep 2022 20:40 UTC

On 2022-09-12 18:18:09 +0000, alanfe...@gmail.com said:

> You can use logical names for recipients!

You can also use MAIL DECnet to probe the remote system configuration.
You can remotely detect the presence of add-on security apps that might
be running, for instance.

You can also detect remote network security teams using MAIL DECnet as
their preferred technique to probe the local system, and can then use
that detection to counter their probes.

You can also detect and can early-answer arriving MAIL DECnet messages
before the sender ^Z to finish sending a line-mode MAIL DECnet message.

MAIL DECnet is also subject to "slowloris"-style shenanigans.

> I don't know if this is a true story, but someone did a$ DEFINE MORON
> <user-address>
> And when the person received it, it should that it was sent to MORON!

You can do that with pretty much any mail tool, or with DNS translations, etc.

> I suppose that's harmless enough for personal use. I suppose one could
> make "public" logical names for positions like systems administrator,
> or HR Head, who might change from time to time.

Easier to use a forwarding entry in the database for forwarding
arriving OpenVMS MAIL to a fixed address (and SYSTEM, FIELD, etc., are
routinely forwarded on systems I have administered), but there are
limits. OpenVMS MAIL doesn't like multiple forwarders. Forwarding to a
forwarding server does work, as a workaround.

MAIL really doesn't work all that well by current standards. When open
and unsecured network connections are still permissible, MAIL does
provides a way to send logs and notifications. Though there are other
and more secure paths for that. I've used php and other tools to make
secure connections, where the target SMTP is operating with modern
settings and where security exceptions are discouraged.

OpenVMS MAIL (lack of) handling of MIME is still a mess, as well. Can
it be gotten to work? Sure. Mostly. VSI did just fix a MIME issue.

And absent add-ons past the inexplicably-still-an-add-on IP stack, MAIL
also doesn't work for SMTP messages when a mail server is not also
installed locally, which is just hilarious.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Use of logical names other than I/O redirection

<mn.6a567e69c80fb6d6.104627@invalid.skynet.be>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!En8owL5it4/3ZskmBb92KA.user.46.165.242.75.POSTED!not-for-mail
From: marc.gr....@invalid.skynet.be (Marc Van Dyck)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Tue, 13 Sep 2022 09:58:46 +0200
Organization: Aioe.org NNTP Server
Message-ID: <mn.6a567e69c80fb6d6.104627@invalid.skynet.be>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com> <mn.5c337e697dffe45b.104627@invalid.skynet.be> <631e6134$0$701$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="61171"; posting-host="En8owL5it4/3ZskmBb92KA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Face: #0?irvdFiM!(Tpl}/tO%_kuSW_^9G5aeIEnY1uNPcd@N_U.B30\*[%N-cnqSC,rEfeq\m:b oR({RM{x03]Iv}^2xc7\J][^MkbL3DYdLevZ$&h0WbH!i:>O1i#FLy/mO2G~xMF<YSj^@q9sRC~iP> *uQnfN4xre8v9%0fqg;i.!ymm~6w2nEx);Q~Q*8&dUO(fn
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: MesNews/1.08.06.00-gb
 by: Marc Van Dyck - Tue, 13 Sep 2022 07:58 UTC

Arne Vajhøj has brought this to us :

> 3) Logical names does not scale well. 50 fine, 100 fine,
> 200 fine but 100000 does not work. Windows registry is
> a fine example of something that has become so big that
> it is difficult to find things.
>
Not if you use separate, dedicated logical name tables. Putting
everything in LNM$SYSTEM is of course not good practice, but desiging
applications to use their own table(s), use rights ids to grant access
to them, and connect automatically to the right tables at login time
works perfectly for me. We also use such mechanisms for our development
environment, so that each version of each application gets its own
set of tables.

--
Marc Van Dyck

Re: Use of logical names other than I/O redirection

<b12b0686-3aca-4d30-adfd-88c3d0b44ca7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:205:b0:343:282:3d0e with SMTP id b5-20020a05622a020500b0034302823d0emr26695583qtx.436.1663059798312;
Tue, 13 Sep 2022 02:03:18 -0700 (PDT)
X-Received: by 2002:a05:622a:1790:b0:35c:8450:d9e4 with SMTP id
s16-20020a05622a179000b0035c8450d9e4mr200923qtk.130.1663059798045; Tue, 13
Sep 2022 02:03:18 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Tue, 13 Sep 2022 02:03:17 -0700 (PDT)
In-Reply-To: <mn.6a567e69c80fb6d6.104627@invalid.skynet.be>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.75.28; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.75.28
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be> <631e6134$0$701$14726298@news.sunsite.dk>
<mn.6a567e69c80fb6d6.104627@invalid.skynet.be>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b12b0686-3aca-4d30-adfd-88c3d0b44ca7n@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Tue, 13 Sep 2022 09:03:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3225
 by: Bob Gezelter - Tue, 13 Sep 2022 09:03 UTC

On Tuesday, September 13, 2022 at 3:58:47 AM UTC-4, Marc Van Dyck wrote:
> Arne Vajhøj has brought this to us :
> > 3) Logical names does not scale well. 50 fine, 100 fine,
> > 200 fine but 100000 does not work. Windows registry is
> > a fine example of something that has become so big that
> > it is difficult to find things.
> >
> Not if you use separate, dedicated logical name tables. Putting
> everything in LNM$SYSTEM is of course not good practice, but desiging
> applications to use their own table(s), use rights ids to grant access
> to them, and connect automatically to the right tables at login time
> works perfectly for me. We also use such mechanisms for our development
> environment, so that each version of each application gets its own
> set of tables.
>
> --
> Marc Van Dyck
Marc,

Concur. Did DECUS presentations on those techniques a long time ago, circa 2000. With conventional logins, rights identifiers work quite well, it is effectively parallels access badges.

Inserting logical name tables into the search path is documented, and removes the need for the application to be aware of the underlying structure. One can also use indirection, e.g., the application-specific logical names hinge on another logical name. For an example, consider SYS$SYSTEM, which references SYS$SPECIFIC and SYS$COMMON, which in turn reference SYS$SYSDEVICE. There is no requirement that they all must be in the same logical name table.

At one client, that little "trick" eliminated thousands, or possibly tens of thousands of process logical names across the active sessions. Realtime performance improved; paged pool decreased, and login-time was significantly reduced. The number of logical names per logged-in user went from hundreds to less than ten.

- Bob Gezelter, http://www.rlgsc.com

Re: Use of logical names other than I/O redirection

<tfqorj$2lpor$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Tue, 13 Sep 2022 16:23:15 -0400
Organization: HoffmanLabs LLC
Lines: 44
Message-ID: <tfqorj$2lpor$1@dont-email.me>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com> <mn.5c337e697dffe45b.104627@invalid.skynet.be> <631e6134$0$701$14726298@news.sunsite.dk> <mn.6a567e69c80fb6d6.104627@invalid.skynet.be>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="16d4bea958fcc7bf7251a2e2192c24c0";
logging-data="2811675"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pUWca2Aj7xF6UjRDc4tcMcUkuCaBfQn4="
User-Agent: Unison/2.2
Cancel-Lock: sha1:gdmoP02YTSW8mW/1xMwVfqUAffc=
 by: Stephen Hoffman - Tue, 13 Sep 2022 20:23 UTC

On 2022-09-13 07:58:46 +0000, Marc Van Dyck said:

> Arne Vajhøj has brought this to us :
>
>> 3) Logical names does not scale well. 50 fine, 100 fine, 200 fine but
>> 100000 does not work. Windows registry is a fine example of something
>> that has become so big that it is difficult to find things.
>>
> Not if you use separate, dedicated logical name tables. Putting
> everything in LNM$SYSTEM is of course not good practice, but desiging
> applications to use their own table(s), use rights ids to grant access
> to them, and connect automatically to the right tables at login time
> works perfectly for me. We also use such mechanisms for our development
> environment, so that each version of each application gets its own set
> of tables.

That's kinda the definition of not scaling well.

But as you have a small and self-contained environment with simple
requirements, by all means logical names can and should be used.

Again, my belief that logical names are a bad solution for
configuration data and are just complex and convoluted and volatile and
disjoint does not mean y'all shouldn't use them.

Logical names are what they are, and the available OpenVMS alternatives
for app and system configuration data storage are lacking. Which is why
logical names continue to get used. Later, rinse, repeat.

It's also why we get messes such as the DEC C logical name thicket, and
a more recent favorite of mine, and the ever-popular
defaults-to-an-open-relay-whoopsie SMTP server database.

OpenVMS doesn't do this app-local and app-isolated stuff at all well
(which tracks back to other issues and errors and limits), though it is
feasible to create a DSL with lib$table_parse, and it is possible to
use LDAP (though not so well nor so easily, strictly locally), and
various languages do have language-specific configuration storage
mechanisms.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Use of logical names other than I/O redirection

<tfqqen$2lv1u$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Tue, 13 Sep 2022 16:50:29 -0400
Organization: A noiseless patient Spider
Lines: 65
Message-ID: <tfqqen$2lv1u$1@dont-email.me>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be>
<631e6134$0$701$14726298@news.sunsite.dk>
<mn.6a567e69c80fb6d6.104627@invalid.skynet.be> <tfqorj$2lpor$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 13 Sep 2022 20:50:31 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="b375384dc09094043c2ba4fbef7d1992";
logging-data="2817086"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+czUk/GcHNYZA7PM5VyIiFX/N8rU1NQXE="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:EEBWFeiIKUP+uQhraUIDEq8tEdQ=
In-Reply-To: <tfqorj$2lpor$1@dont-email.me>
 by: Dave Froble - Tue, 13 Sep 2022 20:50 UTC

On 9/13/2022 4:23 PM, Stephen Hoffman wrote:
> On 2022-09-13 07:58:46 +0000, Marc Van Dyck said:
>
>> Arne Vajhøj has brought this to us :
>>
>>> 3) Logical names does not scale well. 50 fine, 100 fine, 200 fine but 100000
>>> does not work. Windows registry is a fine example of something that has
>>> become so big that it is difficult to find things.
>>>
>> Not if you use separate, dedicated logical name tables. Putting everything in
>> LNM$SYSTEM is of course not good practice, but desiging applications to use
>> their own table(s), use rights ids to grant access to them, and connect
>> automatically to the right tables at login time works perfectly for me. We
>> also use such mechanisms for our development environment, so that each version
>> of each application gets its own set of tables.
>
> That's kinda the definition of not scaling well.
>
> But as you have a small and self-contained environment with simple requirements,
> by all means logical names can and should be used.
>
> Again, my belief that logical names are a bad solution for configuration data
> and are just complex and convoluted and volatile and disjoint does not mean
> y'all shouldn't use them.

On that point I agree completely. Tools can always be misused, ie; hammer and
screw, screwdriver as prybar, and such.

But I have to ask, isn't the app configuration an issue for the app, not the
environment? I fail to see any logic in expecting an environment to provide
generic tools for such activity. Nor am I a big fan of "generic" in general.

> Logical names are what they are, and the available OpenVMS alternatives for app
> and system configuration data storage are lacking. Which is why logical names
> continue to get used. Later, rinse, repeat.

With a few logical names I can run many copies of an application on a single
system. That has always been valuable to me, though much less so in this era of
cheap hardware and systems dedicated to single applications.

> It's also why we get messes such as the DEC C logical name thicket, and a more
> recent favorite of mine, and the ever-popular defaults-to-an-open-relay-whoopsie
> SMTP server database.

To me that is a nightmare. What does the apps do if the logicals aren't set as
needed? Scary.

> OpenVMS doesn't do this app-local and app-isolated stuff at all well (which
> tracks back to other issues and errors and limits), though it is feasible to
> create a DSL with lib$table_parse, and it is possible to use LDAP (though not so
> well nor so easily, strictly locally), and various languages do have
> language-specific configuration storage mechanisms.

Have to ask, just what is LOGIN.COM? I'd suggest it is the place for some
configuration information, at least enough to get to a place where more details
are specified. Consider it an "ini" file for a process instead of for a single
executable.

--
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: Use of logical names other than I/O redirection

<6321210d$0$698$14726298@news.sunsite.dk>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date: Tue, 13 Sep 2022 20:32:12 -0400
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.13.0
Subject: Re: Use of logical names other than I/O redirection
Content-Language: en-US
Newsgroups: comp.os.vms
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be>
<631e6134$0$701$14726298@news.sunsite.dk>
<mn.6a567e69c80fb6d6.104627@invalid.skynet.be>
From: arn...@vajhoej.dk (Arne Vajhøj)
In-Reply-To: <mn.6a567e69c80fb6d6.104627@invalid.skynet.be>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 29
Message-ID: <6321210d$0$698$14726298@news.sunsite.dk>
Organization: SunSITE.dk - Supporting Open source
NNTP-Posting-Host: 591619b3.news.sunsite.dk
X-Trace: 1663115533 news.sunsite.dk 698 arne@vajhoej.dk/68.9.63.232:52944
X-Complaints-To: staff@sunsite.dk
 by: Arne Vajhøj - Wed, 14 Sep 2022 00:32 UTC

On 9/13/2022 3:58 AM, Marc Van Dyck wrote:
> Arne Vajhøj has brought this to us :
>> 3) Logical names does not scale well. 50 fine, 100 fine,
>>     200 fine but 100000 does not work. Windows registry is
>>     a fine example of something that has become so big that
>>     it is difficult to find things.
>>
> Not if you use separate, dedicated logical name tables. Putting
> everything in LNM$SYSTEM is of course not good practice, but desiging
> applications to use their own table(s), use rights ids to grant access
> to them, and connect automatically to the right tables at login time
> works perfectly for me. We also use such mechanisms for our development
> environment, so that each version of each application gets its own
> set of tables.

I am sure that it works.

But it is very customized solution.

It requires changes to users login.com if I understand it
correctly.

And I don't think it makes things easily searchable
(unless there are a number of conventions everybody
need to know).

Arne

Re: Use of logical names other than I/O redirection

<mn.72647e6979101f23.104627@invalid.skynet.be>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!En8owL5it4/3ZskmBb92KA.user.46.165.242.75.POSTED!not-for-mail
From: marc.gr....@invalid.skynet.be (Marc Van Dyck)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Wed, 14 Sep 2022 10:12:07 +0200
Organization: Aioe.org NNTP Server
Message-ID: <mn.72647e6979101f23.104627@invalid.skynet.be>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com> <mn.5c337e697dffe45b.104627@invalid.skynet.be> <631e6134$0$701$14726298@news.sunsite.dk> <mn.6a567e69c80fb6d6.104627@invalid.skynet.be> <6321210d$0$698$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="25317"; posting-host="En8owL5it4/3ZskmBb92KA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Face: #0?irvdFiM!(Tpl}/tO%_kuSW_^9G5aeIEnY1uNPcd@N_U.B30\*[%N-cnqSC,rEfeq\m:b oR({RM{x03]Iv}^2xc7\J][^MkbL3DYdLevZ$&h0WbH!i:>O1i#FLy/mO2G~xMF<YSj^@q9sRC~iP> *uQnfN4xre8v9%0fqg;i.!ymm~6w2nEx);Q~Q*8&dUO(fn
X-Newsreader: MesNews/1.08.06.00-gb
 by: Marc Van Dyck - Wed, 14 Sep 2022 08:12 UTC

Arne Vajhøj brought next idea :
>
> It requires changes to users login.com if I understand it
> correctly.
>
Not the way we have implemented it. The logic is common and included
in SYLOGIN.COM and it's all driven by the rights ids granted to the
different user accounts.

--
Marc Van Dyck

Re: Use of logical names other than I/O redirection

<e5b4cabf-bf8b-4098-9019-83508cc8f8acn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1986:b0:343:225d:f9e1 with SMTP id u6-20020a05622a198600b00343225df9e1mr32472631qtc.651.1663155075901;
Wed, 14 Sep 2022 04:31:15 -0700 (PDT)
X-Received: by 2002:a05:6214:27c6:b0:4ac:94f9:c727 with SMTP id
ge6-20020a05621427c600b004ac94f9c727mr19097174qvb.51.1663155075689; Wed, 14
Sep 2022 04:31:15 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Wed, 14 Sep 2022 04:31:15 -0700 (PDT)
In-Reply-To: <6321210d$0$698$14726298@news.sunsite.dk>
Injection-Info: google-groups.googlegroups.com; posting-host=100.2.75.28; posting-account=r2_qcwoAAACbIdit5Eka3ivGvrYZz7UQ
NNTP-Posting-Host: 100.2.75.28
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be> <631e6134$0$701$14726298@news.sunsite.dk>
<mn.6a567e69c80fb6d6.104627@invalid.skynet.be> <6321210d$0$698$14726298@news.sunsite.dk>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e5b4cabf-bf8b-4098-9019-83508cc8f8acn@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: gezel...@rlgsc.com (Bob Gezelter)
Injection-Date: Wed, 14 Sep 2022 11:31:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4487
 by: Bob Gezelter - Wed, 14 Sep 2022 11:31 UTC

On Tuesday, September 13, 2022 at 8:32:16 PM UTC-4, Arne Vajhøj wrote:
> On 9/13/2022 3:58 AM, Marc Van Dyck wrote:
> > Arne Vajhøj has brought this to us :
> >> 3) Logical names does not scale well. 50 fine, 100 fine,
> >> 200 fine but 100000 does not work. Windows registry is
> >> a fine example of something that has become so big that
> >> it is difficult to find things.
> >>
> > Not if you use separate, dedicated logical name tables. Putting
> > everything in LNM$SYSTEM is of course not good practice, but desiging
> > applications to use their own table(s), use rights ids to grant access
> > to them, and connect automatically to the right tables at login time
> > works perfectly for me. We also use such mechanisms for our development
> > environment, so that each version of each application gets its own
> > set of tables.
> I am sure that it works.
>
> But it is very customized solution.
>
> It requires changes to users login.com if I understand it
> correctly.
>
> And I don't think it makes things easily searchable
> (unless there are a number of conventions everybody
> need to know).
>
> Arne
Arne,

Separate per-product logical name tables are quite feasible, see my OpenVMS Technical Journal paper on Hierarchical Logical Names, "Inheritance Based Environments in Stand-alone OpenVMS Systems and OpenVMS Clusters (February 2004)" at http://www.rlgsc.com/publications/vmstechjournal/inheritance.html..

As to LOGIN.COM, Marc's suggestion of SYS$MANAGER:SYLOGIN.COM works for global definitions. If one desires a more precision approach to manage individually authorized applications, or different versions of the same application, or for that matter, some mixture of both, one can straightforwardly implement a group-wide login.com, as described in "Group-wide LOGIN Profiles Lower Risk, Decrease Cost", the September 30, 2010 installment of The OpenVMS Consultant, http://www.rlgsc.com/blog/openvms-consultant/group-wide-login.html.

When I used the rights identified approach at a client, I was dealing with a large collection of applications, and a far larger workforce, each with an individual login. Individuals had to be checked out on each application by a supervisor, and then granted access when a work order required them to use the application. In effect, their captive account screen menu would only show the applications they were cleared to work on that particular shift. Granting/revoking these identifiers was delegated to the section supervisors, who similarly had an application (DCL-implemented) to check-in/check-out batches of work. Tens of operators per shift; worked smoothly for years.

Of course, all application directories and files were tagged with appropriate access control lists, so applications could not be executed without the required identifiers.

An effective analog of access control badges, but within the user environment.

- Bob Gezelter, http://www.rlgsc.com

Re: Use of logical names other than I/O redirection

<tfsfhr$2tu7b$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Use of logical names other than I/O redirection
Date: Wed, 14 Sep 2022 13:56:43 +0200
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <tfsfhr$2tu7b$1@dont-email.me>
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be>
<631e6134$0$701$14726298@news.sunsite.dk>
<mn.6a567e69c80fb6d6.104627@invalid.skynet.be>
<6321210d$0$698$14726298@news.sunsite.dk>
<mn.72647e6979101f23.104627@invalid.skynet.be>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Sep 2022 11:56:43 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="6f6ba4275074d0ba6e5fb01e9b631198";
logging-data="3078379"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX184gclBHga92AFB9N/KEZw2"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.1.1
Cancel-Lock: sha1:QN1BtDxVQlG4RpazBuUDz6SS7mI=
In-Reply-To: <mn.72647e6979101f23.104627@invalid.skynet.be>
Content-Language: sv
 by: Jan-Erik Söderholm - Wed, 14 Sep 2022 11:56 UTC

Den 2022-09-14 kl. 10:12, skrev Marc Van Dyck:
> Arne Vajhøj brought next idea :
>>
>> It requires changes to users login.com if I understand it
>> correctly.
>>
> Not the way we have implemented it. The logic is common and included
> in SYLOGIN.COM and it's all driven by the rights ids granted to the
> different user accounts.
>

On our system, the normal users doesn't even have an private
home directory, and even less a private LOGIN.COM. The dev/dir
setting in the UAF just points to a common scratch directory.
Nothing is ever written there anyway, apart from some process
dump or such. But nothing by-design from the applications.

Everthing is controlled by the menu system and one common LOGIN
file where any special setup for some specific user is handled.

Re: Use of logical names other than I/O redirection

<365fe9e2-ef4b-49e3-9dae-d815f62d7666n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5fc7:0:b0:35b:ad1a:a091 with SMTP id k7-20020ac85fc7000000b0035bad1aa091mr16924466qta.616.1663157499472;
Wed, 14 Sep 2022 05:11:39 -0700 (PDT)
X-Received: by 2002:a05:620a:4155:b0:6ce:3e56:c1e5 with SMTP id
k21-20020a05620a415500b006ce3e56c1e5mr10086233qko.350.1663157499259; Wed, 14
Sep 2022 05:11:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 14 Sep 2022 05:11:39 -0700 (PDT)
In-Reply-To: <tfsfhr$2tu7b$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2600:4040:5ed8:3d00:a174:339c:4596:6cf8;
posting-account=Ysq9BAoAAACGX1EcMMPkdNg4YcTg0TxG
NNTP-Posting-Host: 2600:4040:5ed8:3d00:a174:339c:4596:6cf8
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be> <631e6134$0$701$14726298@news.sunsite.dk>
<mn.6a567e69c80fb6d6.104627@invalid.skynet.be> <6321210d$0$698$14726298@news.sunsite.dk>
<mn.72647e6979101f23.104627@invalid.skynet.be> <tfsfhr$2tu7b$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <365fe9e2-ef4b-49e3-9dae-d815f62d7666n@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: dansabrs...@yahoo.com (abrsvc)
Injection-Date: Wed, 14 Sep 2022 12:11:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 27
 by: abrsvc - Wed, 14 Sep 2022 12:11 UTC

On Wednesday, September 14, 2022 at 7:56:46 AM UTC-4, Jan-Erik Söderholm wrote:
> Den 2022-09-14 kl. 10:12, skrev Marc Van Dyck:
> > Arne Vajhøj brought next idea :
> >>
> >> It requires changes to users login.com if I understand it
> >> correctly.
> >>
> > Not the way we have implemented it. The logic is common and included
> > in SYLOGIN.COM and it's all driven by the rights ids granted to the
> > different user accounts.
> >
> On our system, the normal users doesn't even have an private
> home directory, and even less a private LOGIN.COM. The dev/dir
> setting in the UAF just points to a common scratch directory.
> Nothing is ever written there anyway, apart from some process
> dump or such. But nothing by-design from the applications.
>
> Everthing is controlled by the menu system and one common LOGIN
> file where any special setup for some specific user is handled.

There are many valid techniques that have been used over the years. In my case, the logicals were "controlled" by UIC groups. We built group level (and private tables) all triggered by the UIC group. This worked well for our application environment. Each group had their own private tables added to the search list in addition to the group level.

Dan

Re: Use of logical names other than I/O redirection

<6e890f65-8940-486b-910e-46f8fa2bb3d9n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:86:b0:342:f620:dc7a with SMTP id o6-20020a05622a008600b00342f620dc7amr35105215qtw.594.1663191159190;
Wed, 14 Sep 2022 14:32:39 -0700 (PDT)
X-Received: by 2002:ae9:f815:0:b0:6ce:a0e7:7779 with SMTP id
x21-20020ae9f815000000b006cea0e77779mr641334qkh.781.1663191159010; Wed, 14
Sep 2022 14:32:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.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.os.vms
Date: Wed, 14 Sep 2022 14:32:38 -0700 (PDT)
In-Reply-To: <365fe9e2-ef4b-49e3-9dae-d815f62d7666n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=72.93.100.146; posting-account=bDGL_AkAAABmVCa-x2ZuiVOQLJqcCw2X
NNTP-Posting-Host: 72.93.100.146
References: <60a6807f-fbb7-400a-9f6a-fe452c3c5fc8n@googlegroups.com>
<mn.5c337e697dffe45b.104627@invalid.skynet.be> <631e6134$0$701$14726298@news.sunsite.dk>
<mn.6a567e69c80fb6d6.104627@invalid.skynet.be> <6321210d$0$698$14726298@news.sunsite.dk>
<mn.72647e6979101f23.104627@invalid.skynet.be> <tfsfhr$2tu7b$1@dont-email.me> <365fe9e2-ef4b-49e3-9dae-d815f62d7666n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6e890f65-8940-486b-910e-46f8fa2bb3d9n@googlegroups.com>
Subject: Re: Use of logical names other than I/O redirection
From: jtc...@gmail.com (Jonathan)
Injection-Date: Wed, 14 Sep 2022 21:32:39 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3372
 by: Jonathan - Wed, 14 Sep 2022 21:32 UTC

25 years ago or so I implemented query queues using logicals (and locks.) I thought the implementation would be replaced at some point, but it's still in use. Description from the sources:

! Query/Reply queues implemented using logical tables
! ! The data for each queue is stored in individual logicals in
! a logical table created for the queue in the system logical
! table directory.
! ! The logical table has four kinds of logical.
! Logical: Contains:
! VERSION current version of queue. The value is
! a hexadecimal time string.
! <version>_TAIL the index of the last item in the queue.
! The value is a decimal string.
! Item numbering starts at 1
! <version>_ENTRY_<n> The state of the <n>th item in the queue.
! The states are QUERY and REPLY and describe
! the contents of the buffer.
! <version>_BUFFER_<n> The buffer holding the data for the
! <n>th item in the queue. This logical
! may have multiple translations. The data
! is the concatenation of all the translations.
! ! Together the _<n> suffixed logicals constitute an item in the queue.
! ! The reason for the separate queue entry and buffer logicals:
! 1) The upper limit on a logical value is 255 bytes.
! 2) Buffers need to be larger than 255 bytes. The required
! larger buffers are implemented as logical arrays (search lists.)
! 3) Creating a logical array is not an atomic operation. A reader
! may see a partial array.
! 4) The logical arrays are created before the queue entries that
! point to them. The queue entries are created in an atomic
! operation.
! ! The version is used to avoid problems when a querier sets a timeout
! long enough for the replier to shutdown/die and restart. The replier
! creates a new queue, destroying any old queue. If there were no
! versions the querier might read someone-else's later query.

Jonathan

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor