[Info-vax] Can DCL be enhanced to report why a qualifier is ambiguous ?

arca...@gmail.com arcarlini at gmail.com
Fri May 28 09:44:35 EDT 2021


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




More information about the Info-vax mailing list