HELPLIB.HLB  —  SPAWN  Example
  $ RUN MYPROG
        .
        .
        .

  $ <Ctrl/Y>
  $ SPAWN MAIL
  %DCL-S-SPAWNED, process SKONETSKI_272 spawned
  %DCL-S-ATTACHED, terminal now attached to process SKONETSKI_272
  MAIL> READ
     .
     .
     .
  MAIL> EXIT
  %DCL-S-RETURNED, control returned to process SKONETSKI
  $ CONTINUE

      The SPAWN command in this example allows you to enter the
      OpenVMS Mail utility (MAIL) without terminating the currently
      running program. After you exit from Mail, control is returned
      to the parent process.
Close Help