Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

E = MC ** 2 +- 3db


computers / comp.os.vms / Can DCL be enhanced to report why a qualifier is ambiguous ?

SubjectAuthor
* Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
+- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Stephen Hoffman
+* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?arca...@gmail.com
|`* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
| +* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
| |+- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Phillip Helbig (undress to reply
| |`* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
| | `* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Chris Townley
| |  +* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Hans Bachner
| |  |+* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Arne Vajhøj
| |  ||`- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Chris Townley
| |  |`- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Hans Bachner
| |  `- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Phillip Helbig (undress to reply
| `* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Jan-Erik Söderholm
|  +* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Craig A. Berry
|  |+- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Dave Froble
|  |`* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Jan-Erik Söderholm
|  | `* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Phillip Helbig (undress to reply
|  |  `* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Jan-Erik Söderholm
|  |   `- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Phillip Helbig (undress to reply
|  `* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
|   +- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Dave Froble
|   `- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Jan-Erik Söderholm
`* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Arne Vajhøj
 `* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Dave Froble
  +* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
  |+* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Dave Froble
  ||`* Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
  || `- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Dave Froble
  |`- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?Simon Clubley
  `- Re: Can DCL be enhanced to report why a qualifier is ambiguous ?VAXman-

Pages:12
Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8oq2i$95d$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Thu, 27 May 2021 18:57:23 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <s8oq2i$95d$1@dont-email.me>
Injection-Date: Thu, 27 May 2021 18:57:23 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="fb74edd91dfa26960c87433f0f0e8b0d";
logging-data="9389"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/htv6fs3qFxtihmQMf5CAYsh387OmQ+FE="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:0VQjcsZKECuBRz8gHIyxmIen3Is=
 by: Simon Clubley - Thu, 27 May 2021 18:57 UTC

I've mentioned this before, but it would be really nice if DCL could
be enhanced to list all the possible candidates in the error message
if you enter an ambiguous keyword.

An increasing number of Linux utilities do this, and it's a very
nice feature.

Just a suggestion.

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8p8o9$dot$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!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: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Thu, 27 May 2021 19:07:53 -0400
Organization: HoffmanLabs LLC
Lines: 20
Message-ID: <s8p8o9$dot$1@dont-email.me>
References: <s8oq2i$95d$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="30f9cf12dd599f174bc558adbee9ee9a";
logging-data="14109"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+I8OqXyJ1XuA6ahsLC2Zt2aAOxRnUpJJU="
User-Agent: Unison/2.2
Cancel-Lock: sha1:cXNMPy4YADP9SbcKUOU4bQgxiOk=
 by: Stephen Hoffman - Thu, 27 May 2021 23:07 UTC

On 2021-05-27 18:57:23 +0000, Simon Clubley said:

> I've mentioned this before, but it would be really nice if DCL could be
> enhanced to list all the possible candidates in the error message if
> you enter an ambiguous keyword.

Pending any hypothetical and unannounced future changes to DCL, the
following might be useful for writing scripts^Wcommand procedures:
https://www.digiater.nl/openvms/freeware/v80/dcl_check/

> An increasing number of Linux utilities do this, and it's a very nice feature.

So too are command completion and filename completion capabilities.

DCL itself needs work. But that's been discussed before.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a37:6396:: with SMTP id x144mr4068491qkb.202.1622209476207;
Fri, 28 May 2021 06:44:36 -0700 (PDT)
X-Received: by 2002:a37:59c4:: with SMTP id n187mr4027213qkb.218.1622209476087;
Fri, 28 May 2021 06:44:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Fri, 28 May 2021 06:44:35 -0700 (PDT)
In-Reply-To: <s8oq2i$95d$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=86.24.158.110; posting-account=iDsmfgoAAAD7iJkJvqrLRpdmka-xAM4v
NNTP-Posting-Host: 86.24.158.110
References: <s8oq2i$95d$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
From: arcarl...@gmail.com (arca...@gmail.com)
Injection-Date: Fri, 28 May 2021 13:44:36 +0000
Content-Type: text/plain; charset="UTF-8"
 by: arca...@gmail.com - Fri, 28 May 2021 13:44 UTC

On Thursday, 27 May 2021 at 19:57:25 UTC+1, Simon Clubley wrote:
> I've mentioned this before, but it would be really nice if DCL could
> be enhanced to list all the possible candidates in the error message
> if you enter an ambiguous keyword.

Not exactly what you want but you could try this:

$ SET COMMAND SYS$INPUT:
DEFINE VERB DCLSPELL
CLIROUTINE SETDCL
QUALIFIER SPELL_CHECK,NEGATABLE

$ DCLSPELL/SPELL

This will spot commands with typos (which will work if the typo is beyond the fourth character or so):

$ directofy
%DCL-I-MISSPELL, !AC !AD is misspelled, using !AC !AC!AC

The command still works, it just gives you this extra warning.

It catches qualifiers too:

$ dir/totalness
%DCL-I-MISSPELL, !AC !AD is misspelled, using !AC !AC!AC

I assume that the odd error messages are because it was either never finished or it was withdrawn/never released and has rotted since.

Antonio

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8qsru$9ic$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 09:57:16 -0400
Organization: Aioe.org NNTP Server
Lines: 92
Message-ID: <s8qsru$9ic$1@gioia.aioe.org>
References: <s8oq2i$95d$1@dont-email.me>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Fri, 28 May 2021 13:57 UTC

On 5/27/2021 2:57 PM, Simon Clubley wrote:
> I've mentioned this before, but it would be really nice if DCL could
> be enhanced to list all the possible candidates in the error message
> if you enter an ambiguous keyword.

It must be in CLI$DCL_PARSE the magic should happen.

$ type pars1.cld
define verb pars
image "sys$disk:[]pars1.exe"
qualifier a1
qualifier a2
$ type pars1.pas
[inherit('sys$library:pascal$cli_routines')]
program pars1(input, output);

begin
if odd(cli$present('A1')) then writeln('A1') else writeln('not A1');
if odd(cli$present('A2')) then writeln('A2') else writeln('not A2');
end.
$ pas pars1
$ link pars1
$ set command pars1
$ pars
not A1
not A2
$ pars /a1
A1
not A2
$ pars /a
%DCL-W-ABKEYW, ambiguous qualifier or keyword - supply more characters
\A\
$ type pars2def.cld
module pars2def

define verb pars
qualifier a1
qualifier a2
$ type pars2.pas
[inherit('sys$library:pascal$lib_routines',
'sys$library:pascal$cli_routines')]
program pars1(input, output);

var
pars2def : [external] integer;

var
args : varying[255] of char;

begin
lib$get_foreign(args.body, 'Arguments: ', args.length);
if odd( cli$dcl_parse('pars ' + args, pars2def)) then begin
if odd(cli$present('A1')) then writeln('A1') else writeln('not A1');
if odd(cli$present('A2')) then writeln('A2') else writeln('not A2');
end;
end.
$ set command/object pars2def
$ pas pars2
$ link pars2 + pars2def
$ pars := $sys$disk:[]pars2
$ pars
not A1
not A2
$ pars /a1
A1
not A2
$ pars /a
%CLI-W-ABKEYW, ambiguous qualifier or keyword - supply more characters
\A\
%TRACE-W-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
0 FFFFFFFF800833F8
FFFFFFFF800833F8
DCL ?
?
0 FFFFFFFF800833F8
FFFFFFFF800833F8
DCL ?
?
0 FFFFFFFF800833F8
FFFFFFFF800833F8
pars2 0 0000000000020644
0000000000020644
pars2 PARS1 PARS1 12 000000000000012C
000000000002012C
0 FFFFFFFF80340964
FFFFFFFF80340964
%TRACE-I-END, end of TRACE stack dump

Arne

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8r9l6$2t9$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 13:36:26 -0400
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <s8r9l6$2t9$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <s8qsru$9ic$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 May 2021 17:35:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b952f11fac09d122cb0f212818c87e55";
logging-data="2985"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/41NWqk6vozOvYH87dwTEI19OgSSAv7N4="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:1sy83+GkF8LE3y6QTqzy4SKA3Kg=
In-Reply-To: <s8qsru$9ic$1@gioia.aioe.org>
 by: Dave Froble - Fri, 28 May 2021 17:36 UTC

On 5/28/2021 9:57 AM, Arne Vajhøj wrote:
> On 5/27/2021 2:57 PM, Simon Clubley wrote:
>> I've mentioned this before, but it would be really nice if DCL could
>> be enhanced to list all the possible candidates in the error message
>> if you enter an ambiguous keyword.

Ya know, perhaps it already does?

Type HELP L to see what happens ...

--
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: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8re97$p02$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 18:54:31 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <s8re97$p02$2@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
Injection-Date: Fri, 28 May 2021 18:54:31 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="68b6f4e138504f37c4c7a96fc1bf00bb";
logging-data="25602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1++WuesC+AI7AsgWjJICVjD788Vyh3x328="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:ovD0h5xMSyVntgzf6DVPLiOYt9A=
 by: Simon Clubley - Fri, 28 May 2021 18:54 UTC

On 2021-05-28, arca...@gmail.com <arcarlini@gmail.com> wrote:
> On Thursday, 27 May 2021 at 19:57:25 UTC+1, Simon Clubley wrote:
>> I've mentioned this before, but it would be really nice if DCL could
>> be enhanced to list all the possible candidates in the error message
>> if you enter an ambiguous keyword.
>
> Not exactly what you want but you could try this:
>
> $ SET COMMAND SYS$INPUT:
> DEFINE VERB DCLSPELL
> CLIROUTINE SETDCL
> QUALIFIER SPELL_CHECK,NEGATABLE
>
> $ DCLSPELL/SPELL
>
> This will spot commands with typos (which will work if the typo is beyond the fourth character or so):
>
> $ directofy
> %DCL-I-MISSPELL, !AC !AD is misspelled, using !AC !AC!AC
>
> The command still works, it just gives you this extra warning.
>
> It catches qualifiers too:
>
> $ dir/totalness
> %DCL-I-MISSPELL, !AC !AD is misspelled, using !AC !AC!AC
>

Thanks for the info but DO. NOT. WANT. :-)

CLIs should either give an error or process the command line input unchanged.

One of the Linux shells does spell checking. I think its a terrible idea.

> I assume that the odd error messages are because it was either never finished or it was withdrawn/never released and has rotted since.
>

I wonder what other features might be hidden in DCL and if any
of them might be misused if someone was sufficiently creative ? :-)

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8redt$p02$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 18:57:02 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <s8redt$p02$3@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <s8qsru$9ic$1@gioia.aioe.org> <s8r9l6$2t9$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 May 2021 18:57:02 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="68b6f4e138504f37c4c7a96fc1bf00bb";
logging-data="25602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19gVGitU+qACvUY6GqQT5IieinCprdi2Y4="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:jTIPnJiUlprQYC0XaQR/hnQzwrA=
 by: Simon Clubley - Fri, 28 May 2021 18:57 UTC

On 2021-05-28, Dave Froble <davef@tsoft-inc.com> wrote:
> On 5/28/2021 9:57 AM, Arne Vajhøj wrote:
>> On 5/27/2021 2:57 PM, Simon Clubley wrote:
>>> I've mentioned this before, but it would be really nice if DCL could
>>> be enhanced to list all the possible candidates in the error message
>>> if you enter an ambiguous keyword.
>
> Ya know, perhaps it already does?
>
> Type HELP L to see what happens ...
>

And if you have installed a custom command which isn't in the help ?

As mentioned in the title, but not in the body, I'm also talking
about qualifiers as well.

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8rev4$p02$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 19:06:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <s8rev4$p02$4@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com> <s8re97$p02$2@dont-email.me>
Injection-Date: Fri, 28 May 2021 19:06:12 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="68b6f4e138504f37c4c7a96fc1bf00bb";
logging-data="25602"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+cjZP/0Yqb2hn7b0eX7RbhdZtY7ucMFjU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:V/3KA78pkg6YuBkmwOYs2I9r03E=
 by: Simon Clubley - Fri, 28 May 2021 19:06 UTC

On 2021-05-28, Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> wrote:
> On 2021-05-28, arca...@gmail.com <arcarlini@gmail.com> wrote:
>>
>> Not exactly what you want but you could try this:
>>
>> $ SET COMMAND SYS$INPUT:
>> DEFINE VERB DCLSPELL
>> CLIROUTINE SETDCL
>> QUALIFIER SPELL_CHECK,NEGATABLE
>>
>> $ DCLSPELL/SPELL
>>
>> This will spot commands with typos (which will work if the typo is beyond the fourth character or so):
>>
>> $ directofy
>> %DCL-I-MISSPELL, !AC !AD is misspelled, using !AC !AC!AC
>>
>> The command still works, it just gives you this extra warning.
>>
>> It catches qualifiers too:
>>
>> $ dir/totalness
>> %DCL-I-MISSPELL, !AC !AD is misspelled, using !AC !AC!AC
>>
>
> Thanks for the info but DO. NOT. WANT. :-)
>
> CLIs should either give an error or process the command line input unchanged.
>

By extension, I should also point out I consider the 4-character thing
in DCL to be a terrible idea as well. :-)

> One of the Linux shells does spell checking. I think its a terrible idea.
>

Interesting about the above however. I had no idea it was there in DCL.

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8rj6f$18i4$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!FVK8amXPLWMJ57gST5Lebg.user.gioia.aioe.org.POSTED!not-for-mail
From: hel...@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 20:18:23 +0000 (UTC)
Organization: Multivax C&R
Lines: 15
Message-ID: <s8rj6f$18i4$1@gioia.aioe.org>
References: <s8oq2i$95d$1@dont-email.me> <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com> <s8re97$p02$2@dont-email.me> <s8rev4$p02$4@dont-email.me> <843dce8d-94ff-45b7-9ab1-fa7a6441313en@googlegroups.com>
NNTP-Posting-Host: FVK8amXPLWMJ57gST5Lebg.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phillip Helbig (undr - Fri, 28 May 2021 20:18 UTC

In article <843dce8d-94ff-45b7-9ab1-fa7a6441313en@googlegroups.com>,
"arca...@gmail.com" <arcarlini@gmail.com> writes:

> On Friday, 28 May 2021 at 20:06:14 UTC+1, Simon Clubley wrote:
>
> > By extension, I should also point out I consider the 4-character thing
> > in DCL to be a terrible idea as well. :-)
>
>
> There was an early release not that pointed out that the
> four-character thing specifically didn't apply to qualifiers that
> started with NO, those needed 6 characters.

But that doesn't apply to /NOTIFY. :-)

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8rqok$i0p$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Sat, 29 May 2021 00:27:31 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <s8rqok$i0p$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me>
<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
<s8re97$p02$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 28 May 2021 22:27:32 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bf4994a46641cf321748306b872f19de";
logging-data="18457"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LKAcrHGh2KW7jkDYf76xZ"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
Cancel-Lock: sha1:qu/OGh4pDOpspwRhr+nrwU6IBT0=
In-Reply-To: <s8re97$p02$2@dont-email.me>
Content-Language: sv
 by: Jan-Erik Söderholm - Fri, 28 May 2021 22:27 UTC

Den 2021-05-28 kl. 20:54, skrev Simon Clubley:

>
> One of the Linux shells does spell checking. I think its a terrible idea.

Like this?

$ sql shwo table
%SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
User tables in database with filename SQL$DATABASE
ARTLAB
DB_SUBMIT
DW101T
...
...

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8rsgq$a83$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!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: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 17:57:29 -0500
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <s8rsgq$a83$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me>
<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
<s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 28 May 2021 22:57:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5ebfdc72fd80f1fc4914b7f09b57a6b4";
logging-data="10499"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/U0L+5eCRWe7jJ9FG/nnXQV+Dbnpx8qVg="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
Gecko/20100101 Thunderbird/78.10.2
Cancel-Lock: sha1:Ob3NtRf+LArCUhq8HJkM2+fpWKw=
In-Reply-To: <s8rqok$i0p$1@dont-email.me>
Content-Language: en-US
 by: Craig A. Berry - Fri, 28 May 2021 22:57 UTC

On 5/28/21 5:27 PM, Jan-Erik Söderholm wrote:
> Den 2021-05-28 kl. 20:54, skrev Simon Clubley:
>
>>
>> One of the Linux shells does spell checking. I think its a terrible idea.
>
> Like this?
>
> $ sql shwo table
> %SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
> User tables in database with filename SQL$DATABASE
>      ARTLAB
>      DB_SUBMIT
>      DW101T
>      ...
>      ...

Now *that's* a bad idea -- automatically substituting what the user said
with what s/he might have meant, although I suppose it can't do much
damage in a show command. I hope that that "drool database" doesn't get
automatically turned into "drop database" and there went the whole
enchilada.

Using a soundex algorithm or something similar to suggest what might
have been intended and permitting the user to try again with the
suggested alternative does make sense and is actually pretty common
these days. For example:

$ git lob
git: 'lob' is not a git command. See 'git --help'.

The most similar command is
log

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8s1sm$2au$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 20:30:16 -0400
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <s8s1sm$2au$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me>
<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
<s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me>
<s8rsgq$a83$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 May 2021 00:29:10 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bdb67f730d7ca9645bf36be761f34db8";
logging-data="2398"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+GMLdqgh9ECbHCN/xH37IqU175BB0Prps="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:yp5BQYXkChFkNIgzgeuDKzt+sMM=
In-Reply-To: <s8rsgq$a83$1@dont-email.me>
 by: Dave Froble - Sat, 29 May 2021 00:30 UTC

On 5/28/2021 6:57 PM, Craig A. Berry wrote:
>
> On 5/28/21 5:27 PM, Jan-Erik Söderholm wrote:
>> Den 2021-05-28 kl. 20:54, skrev Simon Clubley:
>>
>>>
>>> One of the Linux shells does spell checking. I think its a terrible
>>> idea.
>>
>> Like this?
>>
>> $ sql shwo table
>> %SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
>> User tables in database with filename SQL$DATABASE
>> ARTLAB
>> DB_SUBMIT
>> DW101T
>> ...
>> ...
>
> Now *that's* a bad idea -- automatically substituting what the user said
> with what s/he might have meant, although I suppose it can't do much
> damage in a show command. I hope that that "drool database" doesn't get
> automatically turned into "drop database" and there went the whole
> enchilada.
>
> Using a soundex algorithm or something similar to suggest what might
> have been intended and permitting the user to try again with the
> suggested alternative does make sense and is actually pretty common
> these days. For example:
>
> $ git lob
> git: 'lob' is not a git command. See 'git --help'.
>
> The most similar command is
> log
>

Some of these ideas are almost as good as J.F. Meizi's idea about
password completion.

I think I'll stick with a bit more precision.

:-)

--
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: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8s22i$2au$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Fri, 28 May 2021 20:33:24 -0400
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <s8s22i$2au$2@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <s8qsru$9ic$1@gioia.aioe.org>
<s8r9l6$2t9$1@dont-email.me> <s8redt$p02$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 May 2021 00:32:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bdb67f730d7ca9645bf36be761f34db8";
logging-data="2398"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19aB6mnOOPwDRX9pIZ2iSlwyJ0xgqC+W8I="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:2te/OL9wXij1nvK4BdsMpgPcQf0=
In-Reply-To: <s8redt$p02$3@dont-email.me>
 by: Dave Froble - Sat, 29 May 2021 00:33 UTC

On 5/28/2021 2:57 PM, Simon Clubley wrote:
> On 2021-05-28, Dave Froble <davef@tsoft-inc.com> wrote:
>> On 5/28/2021 9:57 AM, Arne Vajhøj wrote:
>>> On 5/27/2021 2:57 PM, Simon Clubley wrote:
>>>> I've mentioned this before, but it would be really nice if DCL could
>>>> be enhanced to list all the possible candidates in the error message
>>>> if you enter an ambiguous keyword.
>>
>> Ya know, perhaps it already does?
>>
>> Type HELP L to see what happens ...
>>
>
> And if you have installed a custom command which isn't in the help ?
>
> As mentioned in the title, but not in the body, I'm also talking
> about qualifiers as well.
>
> Simon.
>

Either know what you want to do, and do it right, or, don't do it at all.

For someone as security conscious as you claim to be, you come up with
some questionable ideas.

--
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: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8t1sq$f2e$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Sat, 29 May 2021 11:35:22 +0200
Organization: A noiseless patient Spider
Lines: 63
Message-ID: <s8t1sq$f2e$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me>
<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
<s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me>
<s8rsgq$a83$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 May 2021 09:35:22 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bf4994a46641cf321748306b872f19de";
logging-data="15438"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VCdwfw1Ff/A/VIthfFY7E"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
Cancel-Lock: sha1:lBeo6p9ib231FhIEPfolVhhfvRc=
In-Reply-To: <s8rsgq$a83$1@dont-email.me>
Content-Language: sv
 by: Jan-Erik Söderholm - Sat, 29 May 2021 09:35 UTC

Den 2021-05-29 kl. 00:57, skrev Craig A. Berry:
>
> On 5/28/21 5:27 PM, Jan-Erik Söderholm wrote:
>> Den 2021-05-28 kl. 20:54, skrev Simon Clubley:
>>
>>>
>>> One of the Linux shells does spell checking. I think its a terrible idea.
>>
>> Like this?
>>
>> $ sql shwo table
>> %SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
>> User tables in database with filename SQL$DATABASE
>>       ARTLAB
>>       DB_SUBMIT
>>       DW101T
>>       ...
>>       ...
>
> Now *that's* a bad idea -- automatically substituting what the user said
> with what s/he might have meant, although I suppose it can't do much
> damage in a show command.  I hope that that "drool database" doesn't get
> automatically turned into "drop database" and there went the whole
> enchilada.

SQL> crea datatase file test;
%SQL-I-SPELLCORR, identifier DATATASE replaced with DATABASE
SQL>

SQL> drool datatase file test;
drool datatase file test;
^ %SQL-F-LOOK_FOR_STMT, Syntax error, looking for a valid SQL
statement, found DROOL instead
SQL>

SQL> drol datatase file test;
%SQL-I-SPELLCORR, identifier DROL replaced with DROP
%SQL-I-SPELLCORR, identifier DATATASE replaced with DATABASE
SQL>

Have worked like this for 20+ years and I guess there have never
been any reason to change it.

Note that this is only in the interactive SQL interface, not when
using SQL in application code.

>
> Using a soundex algorithm or something similar to suggest what might
> have been intended and permitting the user to try again with the
> suggested alternative does make sense and is actually pretty common
> these days.  For example:
>
> $ git lob
> git: 'lob' is not a git command. See 'git --help'.
>
> The most similar command is
>     log
>

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8t3il$ipp$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!lK3QRBMqBxEdvzxSQ3OR6Q.user.gioia.aioe.org.POSTED!not-for-mail
From: hel...@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Sat, 29 May 2021 10:04:05 +0000 (UTC)
Organization: Multivax C&R
Lines: 59
Message-ID: <s8t3il$ipp$1@gioia.aioe.org>
References: <s8oq2i$95d$1@dont-email.me> <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com> <s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me> <s8rsgq$a83$1@dont-email.me> <s8t1sq$f2e$1@dont-email.me>
NNTP-Posting-Host: lK3QRBMqBxEdvzxSQ3OR6Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phillip Helbig (undr - Sat, 29 May 2021 10:04 UTC

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

> >>> One of the Linux shells does spell checking. I think its a terrible idea.
> >>
> >> Like this?
> >>
> >> $ sql shwo table
> >> %SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
> >> User tables in database with filename SQL$DATABASE
> >>       ARTLAB
> >>       DB_SUBMIT
> >>       DW101T
> >>       ...
> >>       ...
> >
> > Now *that's* a bad idea -- automatically substituting what the user said
> > with what s/he might have meant, although I suppose it can't do much
> > damage in a show command.

With SHOW, there is little danger.

> > I hope that that "drool database" doesn't get
> > automatically turned into "drop database" and there went the whole
> > enchilada.
>
> SQL> crea datatase file test;
> %SQL-I-SPELLCORR, identifier DATATASE replaced with DATABASE
> SQL>
>
> SQL> drool datatase file test;
> drool datatase file test;
> ^
> %SQL-F-LOOK_FOR_STMT, Syntax error, looking for a valid SQL
> statement, found DROOL instead
> SQL>
>
>
> SQL> drol datatase file test;
> %SQL-I-SPELLCORR, identifier DROL replaced with DROP
> %SQL-I-SPELLCORR, identifier DATATASE replaced with DATABASE
> SQL>
>
> Have worked like this for 20+ years and I guess there have never
> been any reason to change it.

Note also that, in Rdb, not only are INSERT, DELETE, UPDATE, and
(trivially) SELECT reversible via ROLLBACK, but also things like CREATE
TABLE and, yes, even DROP DATABASE. So even here there is not a huge
danger. Apparently the match has to be pretty close before it is
replaced, and there is little possibility that the intent was actually
something else.

> Note that this is only in the interactive SQL interface, not when
> using SQL in application code.

Right.

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8t3q3$f2e$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Sat, 29 May 2021 12:08:02 +0200
Organization: A noiseless patient Spider
Lines: 66
Message-ID: <s8t3q3$f2e$2@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me>
<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
<s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me>
<s8rsgq$a83$1@dont-email.me> <s8t1sq$f2e$1@dont-email.me>
<s8t3il$ipp$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 May 2021 10:08:03 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="bf4994a46641cf321748306b872f19de";
logging-data="15438"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18vZbkpHM08/rp4pqHiIw5r"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.1
Cancel-Lock: sha1:iPRxdhlMzi5ZjcRPzANnEqVz0Z8=
In-Reply-To: <s8t3il$ipp$1@gioia.aioe.org>
Content-Language: sv
 by: Jan-Erik Söderholm - Sat, 29 May 2021 10:08 UTC

Den 2021-05-29 kl. 12:04, skrev Phillip Helbig (undress to reply):
> In article <s8t1sq$f2e$1@dont-email.me>,
> =?UTF-8?Q?Jan-Erik_S=c3=b6derholm?= <jan-erik.soderholm@telia.com>
> writes:
>
>>>>> One of the Linux shells does spell checking. I think its a terrible idea.
>>>>
>>>> Like this?
>>>>
>>>> $ sql shwo table
>>>> %SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
>>>> User tables in database with filename SQL$DATABASE
>>>>       ARTLAB
>>>>       DB_SUBMIT
>>>>       DW101T
>>>>       ...
>>>>       ...
>>>
>>> Now *that's* a bad idea -- automatically substituting what the user said
>>> with what s/he might have meant, although I suppose it can't do much
>>> damage in a show command.
>
> With SHOW, there is little danger.
>
>>> I hope that that "drool database" doesn't get
>>> automatically turned into "drop database" and there went the whole
>>> enchilada.
>>
>> SQL> crea datatase file test;
>> %SQL-I-SPELLCORR, identifier DATATASE replaced with DATABASE
>> SQL>
>>
>> SQL> drool datatase file test;
>> drool datatase file test;
>> ^
>> %SQL-F-LOOK_FOR_STMT, Syntax error, looking for a valid SQL
>> statement, found DROOL instead
>> SQL>
>>
>>
>> SQL> drol datatase file test;
>> %SQL-I-SPELLCORR, identifier DROL replaced with DROP
>> %SQL-I-SPELLCORR, identifier DATATASE replaced with DATABASE
>> SQL>
>>
>> Have worked like this for 20+ years and I guess there have never
>> been any reason to change it.
>
> Note also that, in Rdb, not only are INSERT, DELETE, UPDATE, and
> (trivially) SELECT reversible via ROLLBACK, but also things like CREATE
> TABLE and, yes, even DROP DATABASE. So even here there is not a huge
> danger. Apparently the match has to be pretty close before it is
> replaced, and there is little possibility that the intent was actually
> something else.
>

Yes, many things are possible to ROLLBACK, but dropping a database is
not one of those. FWIM...

>> Note that this is only in the interactive SQL interface, not when
>> using SQL in application code.
>
> Right.
>

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s8t4th$14jt$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!lK3QRBMqBxEdvzxSQ3OR6Q.user.gioia.aioe.org.POSTED!not-for-mail
From: hel...@asclothestro.multivax.de (Phillip Helbig (undress to reply)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Sat, 29 May 2021 10:26:57 +0000 (UTC)
Organization: Multivax C&R
Lines: 14
Message-ID: <s8t4th$14jt$1@gioia.aioe.org>
References: <s8oq2i$95d$1@dont-email.me> <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com> <s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me> <s8rsgq$a83$1@dont-email.me> <s8t1sq$f2e$1@dont-email.me> <s8t3il$ipp$1@gioia.aioe.org> <s8t3q3$f2e$2@dont-email.me>
NNTP-Posting-Host: lK3QRBMqBxEdvzxSQ3OR6Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.9.2
 by: Phillip Helbig (undr - Sat, 29 May 2021 10:26 UTC

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

> Yes, many things are possible to ROLLBACK, but dropping a database is
> not one of those. FWIM...

Right. Other DROP statements yes, DROP DATABASE no. Basically,
anything within a transaction can be rolled back, but DROP and CREATE
DATABASE are not within a transaction.

Still, the probability that one writes DROL but doesn't mean DROP is
negligible.

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<00B63825.087E97A9@SendSpamHere.ORG>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!tXgf+zuDgRoRDZAnFvrhkg.user.gioia.aioe.org.POSTED!not-for-mail
From: VAXm...@SendSpamHere.ORG
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Sat, 29 May 2021 19:09:06 GMT
Organization: c.2021 Brian Schenkenberger. Prior employers of copyright holder and their agents must first obtain written permission to copy this posting.
Lines: 19
Message-ID: <00B63825.087E97A9@SendSpamHere.ORG>
References: <s8oq2i$95d$1@dont-email.me> <s8qsru$9ic$1@gioia.aioe.org> <s8r9l6$2t9$1@dont-email.me>
Reply-To: VAXman- @SendSpamHere.ORG
NNTP-Posting-Host: tXgf+zuDgRoRDZAnFvrhkg.user.gioia.aioe.org
X-Complaints-To: abuse@aioe.org
X-Notice: Filtered by postfilter v. 0.9.2
 by: VAXm...@SendSpamHere.ORG - Sat, 29 May 2021 19:09 UTC

In article <s8r9l6$2t9$1@dont-email.me>, Dave Froble <davef@tsoft-inc.com> writes:
>On 5/28/2021 9:57 AM, Arne Vajhøj wrote:
>> On 5/27/2021 2:57 PM, Simon Clubley wrote:
>>> I've mentioned this before, but it would be really nice if DCL could
>>> be enhanced to list all the possible candidates in the error message
>>> if you enter an ambiguous keyword.
>
>Ya know, perhaps it already does?
>
>Type HELP L to see what happens ...

I wish I had Ehud's DCL procedure to speed up system disk backups so that
I could post it to this thread! :P

--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s92m5a$1mf$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Mon, 31 May 2021 12:51:55 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <s92m5a$1mf$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <s8qsru$9ic$1@gioia.aioe.org> <s8r9l6$2t9$1@dont-email.me> <s8redt$p02$3@dont-email.me> <28e1a296-c98f-4037-a8fe-15a121fe6d58n@googlegroups.com>
Injection-Date: Mon, 31 May 2021 12:51:55 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="af895de9510bf4bdd14ae6c91c07279b";
logging-data="1743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rCW5muRcCTUBKLicG8H4hkEoeQxvRT5A="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:bzA5maDnbjtXZoSMhyg9+AkJ3Ro=
 by: Simon Clubley - Mon, 31 May 2021 12:51 UTC

On 2021-05-28, arca...@gmail.com <arcarlini@gmail.com> wrote:
> On Friday, 28 May 2021 at 19:57:04 UTC+1, Simon Clubley wrote:
>> And if you have installed a custom command which isn't in the help ?
>>
>> As mentioned in the title, but not in the body, I'm also talking
>> about qualifiers as well.
>> Simon.
>
> I assume (but haven't checked) that DCL builds up tables that cover all the commands that it knows about at that moment. So if you add a new command then it would get the benefit of this spell checking too.
>

I was referring to David's comment about using the online help.

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s92m7i$1mf$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Mon, 31 May 2021 12:53:06 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <s92m7i$1mf$2@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com> <s8re97$p02$2@dont-email.me> <s8rev4$p02$4@dont-email.me> <843dce8d-94ff-45b7-9ab1-fa7a6441313en@googlegroups.com>
Injection-Date: Mon, 31 May 2021 12:53:06 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="af895de9510bf4bdd14ae6c91c07279b";
logging-data="1743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/z3uwoDbO8GSnTyq0LnHypAniXCq+iEOI="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:5crAVCCgvbwTD2ysLt7x0klb9O0=
 by: Simon Clubley - Mon, 31 May 2021 12:53 UTC

On 2021-05-28, arca...@gmail.com <arcarlini@gmail.com> wrote:
> On Friday, 28 May 2021 at 20:06:14 UTC+1, Simon Clubley wrote:
>
>> By extension, I should also point out I consider the 4-character thing
>> in DCL to be a terrible idea as well. :-)
>
>
> There was an early release not that pointed out that the four-character thing specifically didn't apply to qualifiers that started with NO, those needed 6 characters.
>
> I think the motivating example was MOUNT/NOUN[LOAD] which became ambiguous when /UNIT appeared.
>
> I don't suppose 6 is much better than 4 for you though :-)
>

You assume correctly. :-)

If you enter the extra characters, and they are wrong, then the command
should be outright rejected.

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s92mam$1mf$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Mon, 31 May 2021 12:54:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <s92mam$1mf$3@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com> <s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 31 May 2021 12:54:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="af895de9510bf4bdd14ae6c91c07279b";
logging-data="1743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18agpA1R+6uYuA62hB+g8lDPQXeF2i51cQ="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:G66ngViEbbH9I+NfTqWPjs4n+yI=
 by: Simon Clubley - Mon, 31 May 2021 12:54 UTC

On 2021-05-28, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
> Den 2021-05-28 kl. 20:54, skrev Simon Clubley:
>
>>
>> One of the Linux shells does spell checking. I think its a terrible idea.
>
> Like this?
>
> $ sql shwo table
> %SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
> User tables in database with filename SQL$DATABASE
> ARTLAB
> DB_SUBMIT
> DW101T
> ...
> ...
>

Whoever thought it was acceptable to implement _that_ in a SQL utility
and in the way that it is shown above is an idiot.

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s92mho$1mf$4@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Mon, 31 May 2021 12:58:32 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <s92mho$1mf$4@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <s8qsru$9ic$1@gioia.aioe.org> <s8r9l6$2t9$1@dont-email.me> <s8redt$p02$3@dont-email.me> <s8s22i$2au$2@dont-email.me>
Injection-Date: Mon, 31 May 2021 12:58:32 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="af895de9510bf4bdd14ae6c91c07279b";
logging-data="1743"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+1YbB8wkDvo9JI2Woh3gEIIMCL8WMLsbU="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:5+XXy3/xUU6zr3G/lfdZURoJVhs=
 by: Simon Clubley - Mon, 31 May 2021 12:58 UTC

On 2021-05-28, Dave Froble <davef@tsoft-inc.com> wrote:
>
> Either know what you want to do, and do it right, or, don't do it at all.
>
> For someone as security conscious as you claim to be, you come up with
> some questionable ideas.
>

$ set response/mode=good_natured

Just because you haven't learnt any of those new ideas over the
last 30 years doesn't automatically make them questionable. :-)

$ set response/mode=normal

Giving a list of valid options when something is ambiguous: good idea.

Automatically replacing a mistyped command: terrible, terrible idea.

Simon.

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

Re: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s92qk7$7o3$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Mon, 31 May 2021 10:08:23 -0400
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <s92qk7$7o3$2@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me>
<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
<s8re97$p02$2@dont-email.me> <s8rqok$i0p$1@dont-email.me>
<s92mam$1mf$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 31 May 2021 14:08:07 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8fd7e39234e963da79b675d6ef6b7981";
logging-data="7939"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19B8DlxpAaE+ujRoeMCLJzLFMF9qbSCsfI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:fAvEab+hx1vtRGQ/jYUVzUmIdzA=
In-Reply-To: <s92mam$1mf$3@dont-email.me>
 by: Dave Froble - Mon, 31 May 2021 14:08 UTC

On 5/31/2021 8:54 AM, Simon Clubley wrote:
> On 2021-05-28, Jan-Erik Söderholm <jan-erik.soderholm@telia.com> wrote:
>> Den 2021-05-28 kl. 20:54, skrev Simon Clubley:
>>
>>>
>>> One of the Linux shells does spell checking. I think its a terrible idea.
>>
>> Like this?
>>
>> $ sql shwo table
>> %SQL-I-SPELLCORR, identifier SHWO replaced with SHOW
>> User tables in database with filename SQL$DATABASE
>> ARTLAB
>> DB_SUBMIT
>> DW101T
>> ...
>> ...
>>
>
> Whoever thought it was acceptable to implement _that_ in a SQL utility
> and in the way that it is shown above is an idiot.
>
> Simon.
>

Beware, there ARE idiots. Lots of them.

--
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: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s92qt2$g24$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Mon, 31 May 2021 10:13:04 -0400
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <s92qt2$g24$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me> <s8qsru$9ic$1@gioia.aioe.org>
<s8r9l6$2t9$1@dont-email.me> <s8redt$p02$3@dont-email.me>
<s8s22i$2au$2@dont-email.me> <s92mho$1mf$4@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 31 May 2021 14:12:50 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="8fd7e39234e963da79b675d6ef6b7981";
logging-data="16452"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX198q+TaK2vWjUZneOFca/RYWqFG8gBypIs="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:DEUpAg+gX4d/PAaE8YvePt5+n24=
In-Reply-To: <s92mho$1mf$4@dont-email.me>
 by: Dave Froble - Mon, 31 May 2021 14:13 UTC

On 5/31/2021 8:58 AM, Simon Clubley wrote:
> On 2021-05-28, Dave Froble <davef@tsoft-inc.com> wrote:
>>
>> Either know what you want to do, and do it right, or, don't do it at all.
>>
>> For someone as security conscious as you claim to be, you come up with
>> some questionable ideas.
>>
>
> $ set response/mode=good_natured
>
> Just because you haven't learnt any of those new ideas over the
> last 30 years doesn't automatically make them questionable. :-)
>
> $ set response/mode=normal
>
> Giving a list of valid options when something is ambiguous: good idea.
>
> Automatically replacing a mistyped command: terrible, terrible idea.
>
> Simon.
>

As a parallel example, there are two words, when used in aviation, that
quite often result in disaster.

WATCH THIS!

I'd think similar results might happen when not being precise with
instructions to a computer.

--
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: Can DCL be enhanced to report why a qualifier is ambiguous ?

<s92t4r$mt0$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Can DCL be enhanced to report why a qualifier is ambiguous ?
Date: Mon, 31 May 2021 15:51:06 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <s92t4r$mt0$1@dont-email.me>
References: <s8oq2i$95d$1@dont-email.me>
<61e8a1f7-2209-4ce0-99b6-c3efe3f31a0fn@googlegroups.com>
<s8re97$p02$2@dont-email.me> <s8rev4$p02$4@dont-email.me>
<843dce8d-94ff-45b7-9ab1-fa7a6441313en@googlegroups.com>
<s92m7i$1mf$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 31 May 2021 14:51:07 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5617321870f2f193b13f1a9031fcc8f0";
logging-data="23456"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18t7nZROYD3TwA3R4FaifA6IafnbIJilNI="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Cancel-Lock: sha1:m5sS0k5RcvzEKfaWAwmZa0o6PyE=
In-Reply-To: <s92m7i$1mf$2@dont-email.me>
Content-Language: en-GB
 by: Chris Townley - Mon, 31 May 2021 14:51 UTC

On 31/05/2021 13:53, Simon Clubley wrote:
> On 2021-05-28, arca...@gmail.com <arcarlini@gmail.com> wrote:
>> On Friday, 28 May 2021 at 20:06:14 UTC+1, Simon Clubley wrote:
>>
>>> By extension, I should also point out I consider the 4-character thing
>>> in DCL to be a terrible idea as well. :-)
>>
>>
>> There was an early release not that pointed out that the four-character thing specifically didn't apply to qualifiers that started with NO, those needed 6 characters.
>>
>> I think the motivating example was MOUNT/NOUN[LOAD] which became ambiguous when /UNIT appeared.
>>
>> I don't suppose 6 is much better than 4 for you though :-)
>>
>
> You assume correctly. :-)
>
> If you enter the extra characters, and they are wrong, then the command
> should be outright rejected.
>
> Simon.
>
It was sometimes useful to add an incorrect character to avoid a symbol
definition - for example deletes

--
Chris Townley

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor