VMS Help
DEFRAGMENT, SPAWN

 *Conan The Librarian

    The Disk File Optimizer SPAWN subcommand creates a subprocess and
    executes a DCL command in the subprocess, or transfers terminal
    control to the subprocess if no command is supplied.

    Format

      DEFRAGMENT SPAWN  [ command ]

  1 - Parameters

 command

    This is a DCL command string of less than 132 characters that
    is to be executed in the context of the created subprocess.
    After the command is executed, the subprocess terminates and
    control returns to the parent process. A command is optional. If
    no command is supplied, control passes to DCL.

  2 - Restrictions

    None.

  3 - Qualifiers

    None.

  4 - Examples

      The following are examples of the SPAWN command:

    1.$ DEFRAGMENT
      DFO> SPAWN
      $

      The SPAWN command creates a subprocess and transfers terminal
      control to the created subprocess.

    2.
      DFO> SPAWN SHOW DEFAULT
         DISK$1:[JONES]
      DFO>

      The SPAWN command creates a subprocess and executes the DCL
      command SHOW DEFAULT in the created subprocess. Control then
      returns to the Disk File Optimizer parent process.
  Close     Help