ENABLE Reference Manual
APPLICATION EXECUTION
Establishing a PATHWAY System for Two or More Users
-----------------------------------------------------------------
| |
| PURGE log1, enabctl |
| CREATE log1 |
| ASSIGN PATHCTL, enabctl |
| PATHMON/ NAME $one, NOWAIT, CPU 0, OUT log1/ |
| PATHCOM/ IN enabpath/$one |
| |
-----------------------------------------------------------------
Figure 6-4. Sample Obey File That Establishes a PATHWAY System
If you execute such an obey file, the PATHWAY system remains
running until you execute a command to SHUTDOWN the system.
Since an idle PATHWAY system consumes few system resources, in
most cases you can leave your PATHWAY system running as long as
you like.
To allow individuals to execute the application, you can create
an obey file such as the one shown in Figure 6-5. This obey file
contains the PATHCOM command that causes execution of an
application.
-----------------------------------------------------------------
| |
| PATHCOM $one; RUN employee-prog |
| |
-----------------------------------------------------------------
Figure 6-5. Sample Obey File That Executes an Application
To SHUTDOWN the PATHWAY system, create an obey file similar to
the one shown in Figure 6-6. The PATHCOM command shown in this
figure brings the PATHWAY system to an idle state and stops
PATHMON.
-----------------------------------------------------------------
| |
| PATHCOM $one; SHUTDOWN, WAIT |
| |
-----------------------------------------------------------------
Figure 6-6. Sample Obey File That Stops a PATHWAY System
6-6