LANCP$HELP.HLB  —  SPAWN
    Creates a subprocess of the current process. Portions of the current
    process context are copied to the subprocess.

    Format

      SPAWN [command-string]

1  –  Parameter

 command-string

    Specifies a command string of less than 132 characters that is
    to be executed in the context of the created subprocess. When
    the command completes execution, the subprocess terminates and
    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