| tcl edit commands | Index Level | env |
| Syntax | end {port.number user-id} |
| Category | TCL |
| Type | Verb |
| Description |
terminates a process on another port, or the current port if a port.number is not specified.
"end" also stops processing at the previous level and returns to the preceding level TCL prompt. However, if there is an active list at the current level, then list list will be cleared, and control will not return to the previous level. The "end" command can also be used to stop a TCL command that was sent to another line by the "tcl" command, or to terminate a "phantom" job. (See the "z", "zh", "zhs" and "zs" commands). This command requires a sys2 privilege level. If the "port.number" and user-id are not specified, "end" stops the process on the current line. "end" also clears an active list. |
| Options | |
| See Also | list-jobs z logon tcl select secondary list active list port.number stopsched : off startsched sselect level pushing phantom logoff end off killing phantom jobs tcls |
| Example |
end
This ends the process at the current level. end 16 dm This stops the process executing on line 16, under the user-id, "dm". select dict entity [404] 276 items selected out of 276 items. end This "kills" an active list. |
| Warnings |
This can have a "double-whammy" effect under certain circumstances. For instance, if a process is in effect at the first level, and the operator pushes a level, performs a "select" or some other "list-producing" command, then decides to abandon the list, the "end" command will abandon the list AND clobber the process at level one. The way around this is to simply <return> at the "second level" prompt character, which automatically releases the active list and returns to the previous level.
Using the "end" command on another port should be used by a System Administrator only when the status of the pib and potential problems which could arise have been assessed. "end" can generate gfe's in some rare instances. |
| Compatibility | D3 7.0 AP |
| tcl edit commands | Index Level | env |