To direct output from an DCL command with a missing /OUTPUT qualifier
use:

  $ @SYS$INPUT/OUTPUT=file
  _$ command
  -$ CTRL/Z

or:

  $ SPAWN/NOWAIT/NOTIFY/INPUT=NLA0:/OUTPUT=file command

or if VMS 7.x:

  $ PIPE command > file