LANCP$HELP.HLB  —  SPAWN
    Creates a subprocess of the current process. The SPAWN command
    copies the context of the subprocess from the current process.

    Format

      SPAWN  [command-string]

1  –  Parameter

 command-string

    A string of commands to be executed in the context of the created
    subprocess. After the command string is executed, control returns
    to LANCP.

2  –  Qualifiers

    None.

3  –  Example

  LANCP> SPAWN

  $ MC LANCP
  LANCP> DEFINE NODE BOOM/ROOT=LAVC$SYSDEVICE:<SYS22.>
  LANCP> SPAWN SEARCH LAVC$SYSDEVICE:[*.SYSEXE]MOD*.DAT BOOM

  ******************************
  LAVC$SYSDEVICE:[SYS1A.SYSEXE]MODPARAMS.DAT;1

  SCSNODE="BOOM    "

  LANCP> DEFINE NODE BOOM/ROOT=LAVC$SYSDEVICE:<SYS1A.>

      In this example, you enter the node information for a node, but
      are unsure of the root, so you spawn to search MODPARAMS.DAT
      for the node name and then correct the root.
Close Help