[comp.os.vms] DCL continuation prompt

CPA005@VAX2.LANCS.AC.UK.UUCP (07/01/88)

    I have just discovered some rather curious behaviour in DCL. If you
define a symbol to run a command procedure passing a dummy parameter to P1,
in order to be able to pass qualifiers to the procedure, and then call up the
procedure using DCL with continuation lines, the prompt after the first
qualifier is "$ " not "_$ ". Can anyone explain this? Does it only happen in
VMS 4.7 which is the only version I have access to currently?
    The following script shows a simple example of the behaviour:

$ test == "@test ?"
$ create test.com
$ show symbol/all

$ test -
_$ /qual1 -
$ /qual2 -
_$ /qual3 -
_$ /qual4 -
_$ par1 par2 par3,par4
  P1 = "?"
  P2 = "/QUAL1"
  P3 = "/QUAL2"
  P4 = "/QUAL3"
  P5 = "/QUAL4"
  P6 = "PAR1"
  P7 = "PAR2"
  P8 = "PAR3,PAR4"
$ test/qual1 -
$ /qual2 -
_$ /qual3/qual4 -
_$ par1 par2 par3,par4
  P1 = "?"
  P2 = "/QUAL1"
  P3 = "/QUAL2"
  P4 = "/QUAL3/QUAL4"
  P5 = "PAR1"
  P6 = "PAR2"
  P7 = "PAR3,PAR4"
  P8 = ""
$ log

Phil Craven,
University of Lancaster.
JANET address: CPA005@UK.AC.LANCS.VAX2
-------