/sys$common/syshlp/SYSMANHELP.HLB  —  SPAWN  Examples
    1.SYSMAN> SPAWN DIR SYS$MANAGER:SITE*.*

      Directory CLU$COMMON:[SYSMGR]

      SITE$STARTUP.COM;5

      Total of 1 file.

      SYSMAN>

      This command enables you to enter the DIRECTORY command in DCL
      to see if a site-specific startup file is in the directory.
      After the DIRECTORY command executes, control returns to the
      parent process.

    2.SYSMAN> SPAWN
      $ EDIT SITE$STARTUP.COM
         .
         .
         .
      $ LOGOUT
      Process SYSTEM_1 logged out at 28-JUN-2002 10:05:17.24
      SYSMAN>

      This example shows how you can use the SPAWN command to leave
      SYSMAN and edit a file. The LOGOUT command returns you to
      SYSMAN.

    3.SYSMAN> SPAWN /NOLOGICAL_NAMES SET HOST
      _Node: NODE21
         .
         .
         .
      $ LOGOUT

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

      SPAWN>

      This example shows how you can use the SPAWN command to create
      a subprocess in which you can use the SET HOST command. When
      you want to leave NODE21, enter the LOGOUT command. The
      /NOLOGICAL_NAMES qualifier prevents the logical names of the
      parent process from being copied to the subprocess.
Close Help