ENABLE Reference Manual

APPLICATION EXECUTION
Executing the Obey File
PATHCOM <pathmon-name>; Executes an
RUN <program-name> application.
PATHCOM <pathmon-name>; Stops the PATHWAY
SHUTDOWN, WAIT system.
Figure 6-2 shows a sample obey file that uses these commands.
-----------------------------------------------------------------
| |
| PURGE log1, enabctl |
| CREATE log1 |
| ASSIGN PATHCTL, enabctl |
| PATHMON/ NAME $one, NOWAIT, CPU 0, OUT log1/ |
| PATHCOM/ IN enabpath/$one |
| PATHCOM $one;RUN employee-prog |
| PATHCOM $one; SHUTDOWN, WAIT |
| |
-----------------------------------------------------------------
Figure 6-2. Sample Obey File
EXECUTING THE OBEY FILE
To execute an obey file, enter the following in response to the
command interpreter prompt:
OBEY <file-name>
where <file-name> is the name of the obey file.
STARTING A PATHWAY SYSTEM AFTER A SHUTDOWN
When you execute a SHUTDOWN command (the last command in Figure
6-1), this command brings the PATHWAY system to an idle state.
PATHMON writes the internal configuration information to the
assigned PATHCTL file and then stops.
6-4