SeeView Manual

SeeView Language Elements
HP NonStop SeeView Manual526355-004
5-37
ServerMode
?PROC GetConfig is called when you put the cursor in the Config window and
press Return. The procedure accepts the data fields from the screen, declares the
specified task, performs context checks on the input variables, issues a command
to the task, and displays a window on the specified task as shown in Figure 5-17
on page 5-37.
ServerMode
To run the SeeView program as a server, start the program with a startup PARAM
SERVERMODE mode value, where mode is nonzero. SeeView then does not open its
output file as a block-mode terminal.
Operating the SeeView program as a pure server under the control of a script has
several useful applications. One application, shown in Example 5-17
, provides a
command interpreter gateway for requestors such as Pathway, or a cooperative
workstation graphical user interface (GUI).
Used in this manner, ServerMode provides a client-server bridge to the interactive-text-
interface command world and greatly improves client-server performance by providing
up to a 100:1 blocking factor for ITI-mode command responses.
ServerMode scripts can also perform audit and control of the commands and
subsystems accessed by the host or workstation clients.
Figure 5-17. SeeView Output From the Program in Example 5-16