The Disk File Optimizer SPAWN command 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. When the command completes execution, 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 examples show how to SPAWN processes from within the Disk File Optimizer utility. 1. 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.