[Info-vax] Notable VMS "feature"

Tom Adams tadamsmar at gmail.com
Thu Jan 7 13:51:45 EST 2016


I have defined a logical name that I cannot deassign

A logical name that is 255 characters long that ends with a colon.

Here's a command procedure than will do it.

$A = "X"
$A = A+A
$A = A+A
$A = A+A
$A = A+A
$A = A+A
$A = A+A
$A = A+A
$A = A+A
$A = F$EXTRACT(0,254,A)
$A = A+":"
$WRITE SYS$OUTPUT "''F$LENGTH(A)'"
$DEFINE 'A FOOBAR
$!Cannot deassign using the name because the colon is stripped
$ON ERROR THEN CONTINUE
$DEASS 'A
$!Cannot deassign by adding a extra colon because the name it too long
$B = A+':'
$DEASS 'B

Is there anyway to get rid of this logical name other than logging out?




More information about the Info-vax mailing list