There is an aspect of DCL$PATH of which you need to be aware:
DCL will observe wildcard specifications when seeking a file by way of DCL$PATH. This can produce undesired results.
Even an invalid specification might be interpreted as a wildcard specification. The second example shows what can happen if a space is left out of a DIRECTORY command.