KILL monitor command KILL monitor command Syntax KILL task Function Clear a program execution stack and detach any I/O devices that are attached. Usage Considerations KILL cannot be used while the specified program task is executing. KILL has no effect if the specified task execution stack is empty. Parameter task Optional real value, variable, or expression (interpreted as an integer) that specifies which program task is to be cleared. (See below for the default.) Details This operation clears the selected program execution stack, closes any open files, and detaches any I/O devices that may have been left attached by abnormal program termination.
This situation can occur if a program executes a PAUSE instruction or is terminated by an ABORT command or instruction, or an error condition, while an I/O device is attached or a file is open. If a limited-access I/O device is left attached, no other program task can use that device until it is detached. When the task number is not specified, the KILL command accesses task number 0. Related Keyword ABORT monitor command EXECUTE monitor command STATUS monitor command eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 117