[Info-vax] Removing the leading $ from commands in a new DCL language

Michael Moroney moroney at world.std.spaamtrap.com
Fri May 1 09:48:18 EDT 2015


Jan-Erik Soderholm <jan-erik.soderholm at telia.com> writes:

>It depends what's on the lines.

>This works:

>----------------
>show time
>show time
>show time
>----------------

>This does not work:

>----------------
>show time
>show time
>set term /inq
>show time
>----------------

>This *does* work:

>----------------
>show time
>show time
>set term /inq
>$ show time
>----------------

>So "it depends"...


It depends on whether the command is handled directly by DCL or if it has
to run an image.  If handled by DCL, it does what it has to and then reads
the next line for the next command.  If it runs an image, it processes the
next line(s) as potential input to the command (SYS$INPUT), looking for
a line beginning with $ to find the next line.  It also gives the 
%DCL-W-SKPDAT error if necessary.

It probably should be considered a bug not to give the %DCL-W-SKPDAT for
any line not starting with "$" after a non-image command.  To the user, a
command is a command is a command, the user probably doesn't know or care
if the command is handled directly by DCL or an image.



More information about the Info-vax mailing list