DBG$HELP.HLB  —  DEBUG  SPAWN  Examples
    1.DBG> SPAWN
      $

      This example shows that the SPAWN command, without a parameter,
      creates a subprocess at DCL level. You can now enter DCL
      commands. Log out to return to the debugger prompt.

    2.DBG> SPAWN/NOWAIT/INPUT=READ_NOTES/OUTPUT=0428NOTES

      This command creates a subprocess that is executed in parallel
      with the debugging session. This subprocess executes the DCL
      command procedure READ_NOTES.COM. The output from the spawned
      operation is written to the file 0428NOTES.LOG.

    3.DBG> SPAWN/NOWAIT SPAWN/OUT=MYCOM.LOG @MYCOM

      This command creates a subprocess that is executed in parallel
      with the debugging session. This subprocess creates another
      subprocess to execute the DCL command procedure MYCOM.COM. The
      output from that operation is written to the file MYCOM.LOG.
Close Help