Virtual Hometerm Subsystem (VHS) Manual (H06.03+)

Using VHS
Virtual Hometerm Subsystem (VHS) Manual429311-001
3-7
Specifying VHS as the Home
Terminal of Applications
Specifying VHS as the Home
Terminal of Applications
How you specify VHS as the home terminal of your application depends on what type
of application you have. For most non-Pathway applications, specifying VHS as the
home terminal is simple. For Pathway applications, specifying VHS as the home
terminal can be done by using several methods. Two of these methods are described
in the subsections below.
Before you specify VHS as the home terminal for your applications, make sure VHS is
running. If VHS is not running, your application will not work correctly and might not
start.
Non-Pathway Applications
When you start a non-Pathway application from TACL, modify the TERM attribute and
specify the name of the VHS process. The following command starts a non-Pathway
application MYAPP and specifies the VHS process $VHS as the home terminal for this
application:
1> RUN MYAPP / NAME $APP, NOWAIT, CPU 3, TERM $VHS /
Pathway Application Example 1
If you have not hardcoded the HOMETERM attribute for every server in the Pathway
configuration file, you can use this first method to specify VHS as the home terminal.
1. Stop Pathway to reconfigure it.
2. Modify the Pathway startup file to start the VHS process before the Pathway
system is started and to cold load the Pathway system. The TERM option of the
command to start PATHMON should be set to the VHS process, for example,
$VHS. Setting the TERM option will ensure that all the servers have the same
home terminal as the PATHMON process.
In the following example, the Pathway startup file includes two commands to run
with VHS. These commands are in boldface:
3. When you start the PATHMON process of your Pathway system, be sure to use the
TERM option to specify the home terminal of PATHMON. In this example, the VHS
process is named $VHS:
1> PATHMON / NAME $PM, NOWAIT, CPU 3, TERM $VHS /
OBEY $SYSTEM.STARTUP.STARTVHS
PURGE PATHLOG
CREATE PATHLOG, 4
PURGE PATHCTL
ASSIGN PATHCTL, PATHCTL
PATHMON /NAME $DJCT, OUT PATHLOG, NOWAIT, TERM $VHS, CPU 0/
PATHCOM /IN PATHCNFG/ $DJCT