Library /sys$common/syshlp/MAILHELP.HLB  —  SPAWN  Examples
    1.MAIL> SPAWN SHOW TIME

      This example shows how to create a subprocess that executes the
      DCL command SHOW TIME while you are using Mail.

    2.MAIL> SPAWN /NOLOGICAL_NAMES SET HOST
      _Node: MARS
         .
         .
         .
      $ LOGOUT
      CRAMMER logged out at ...

      %REM-S-END, control returned to node _BETA::

      MAIL>

      This example shows how to use the SPAWN command to create a
      subprocess in which you SET HOST to another node. When you want
      to leave node MARS and move back to node BETA, enter the DCL
      command LOGOUT. The /NOLOGICAL_NAMES qualifier prevents the
      logical names of the parent process from being copied to the
      subprocess.
Close Help