auto-restart command
.mdThe auto-restart command allows the user to specify or clear a command that is executed whenever a D3 process is attempting to go to TCL.
Attribute 9 of the system users file also contains the command to be executed when a process attempts to go to TCL. The implementation of the auto-restart command still supports the capability of attribute 9 of the system users file and adds further functionality associated with executing a command when going to TCL. This includes the immediate setting of the command on D3 processes (instead of setting the command when a process logs into D3) and the support of the SECURITY-CONTROL file for setting the command when a process logs into D3.
Syntax
AUTO-RESTART [ UPDATE.USER | [n[-m]] | PERMANENT ] { command | CLEAR }
Parameter(s)
| n{-m} | Specifies the process, or range of processes, to which this
command applies. If the line number (or range of line numbers) is specified without the UPDATE.USER or PERMANENT keywords, the specified lines will be immediately set to the auto-restart command specifications. |
|
| command | If specified, the command is set. The command may contain spaces and/or options and may be surrounded by double quotation marks. |
|
| CLEAR | If specified, the command is cleared. | |
| UPDATE.USER | The auto-restart specifications will be written to the USERS file (for example, the TCL command for attribute 9) and the current user will be immediately set to the auto-restart specifications. | |
| PERMANENT | The auto-restart specifications will be written to the SECURITY-CONTROL file for the line number (or range of line numbers) specified, and the specified lines will be immediately set to the auto-restart specifications. | |
Description
Unless the n option is specified, all changes enacted by the auto-restart command take effect on the next log on of the specified process (or processes).
When a user logs in, the command to load the SECURITY-CONTROL file settings will include the execution of the auto-restart command for loading in the auto-restart specifications.
Example(s)
Defines TCLPROC as the MD entry that process 1 should execute rather than going to the TCL prompt.
AUTO-RESTART 1 TCLPROC
Defines TCLPROC as the MD entry to execute for processes 1 through 10.
AUTO-RESTART 1-10 TCLPROC
Clears the TCL RESTART command for processes 5 through 8.
AUTO-RESTART 5-8 (C