Virtual Hometerm Subsystem (VHS) Manual (G06.24+, H06.04+, J06.03+)
Using VHS
Virtual Hometerm Subsystem (VHS) Manual—429311-002
3-8
OPEN Message Processing
This table summarizes how VHS responds to application messages and prompts.
OPEN Message Processing
When VHS receives an OPEN message, it goes through these steps:
1. VHS adds an entry into the opener table and executes the PROCESSINFO
procedure to determine the name of the object file of the process.
2. If the object file name is equal to Inspect/eInspect, VHS sets the opener type as
Inspect.
3. If the state of the program is Debug, VHS sets the opener type as Debug.
4. For all the other openers, VHS sets the opener type as Unknown.
Type of message VHS Action
Open message Determines the object file of the process and acts accordingly.
Display message Saves the message in the text part of an EMS event, sends the event
to the collector if configured to do so (see parameter GENERATE-
DISPLAY-EVENT), and logs the message in the primary log file.
Inspect/eInspect
prompt
Depending on the VHSINSP file and the AUTOMATIC-INSPECT-
PROCESSING parameter, VHS handles the Inspect/eInspect prompt
by sending commands found in the VHSINSP file, and creates a
saveabend file to save the application’s context and stops the
application; or, VHS lets you handle the prompt by writing to its prompt
file. VHS logs Inspect/eInspect messages in its primary log file. VHS
can also send EMS events to the collector if configured to do so (see
the GENERATE-INSPECT-EVENT parameter).
Debug prompt VHS sends to Debug the D;T;S (Display;Trace;Stop) commands and
stops the application. VHS logs Debug messages in its primary log
file. VHS can also send EMS events to the collector if configured to do
so (see the GENERATE-INSPECT-EVENT parameter).
Application prompt Saves the prompt to its prompt file. The prompt can be answered via
the Prompt Browser screen. Also sends the event to the collector, if
configured to do so (see the parameter GENERATE-PROMPT-
EVENT), and logs the message.
Reply messages Sends reply messages to the application, keeps a copy of the reply in
its primary log file, removes the prompt from its prompt file, and, if
configured to do so (see the GENERATE-PROMPT-EVENT),
generates an EMS event.
Note. VHS cannot be opened by remote processes. VHS can only be opened by local
processes.