SeeView Manual

SeeView Interpreter Interface
HP NonStop SeeView Manual526355-004
7-2
Edit-Mode Windows
Edit-Mode Windows
You can interactively develop and execute a SeeView program from a window that is in
edit mode on the Help page. This virtual window interface to the SeeView interpreter
provides a simple way to develop and debug SeeView programs.
The following steps load the current shell into a special window labeled SeeView on
the Help page. Once you load a program into the SeeView window, you can debug it.
You can use the Seedit GET command to load any program or script file into the
SeeView window.
To set up the Help page for interactive debugging:
1. Press F11.
Once the Help page appears, press F11 a second time. A window editor labeled
SeeView is automatically created in the largest free window on the Help page.
Breaking up this window into a larger SeeView window and a smaller free window
below it provides a convenient means of displaying syntax errors and user variable
values.
2. Load the SeeView command files into the SeeView window on the Help page by
using the Seedit GET command.
3. Enable edit mode for the SeeView window by pressing Insert-Line or F5 when the
cursor is on the sill of this window.
4. Once the editor is enabled, press SF15 when the cursor is in this window to
execute all statements contained in the cache for this window.
If the program causes another page to appear, you can return to the Help page by
pressing F11.
Specifying a section through the ALTER SHELL file [ ( section-name) ] statement
restricts SF15 execution to a specific ?SECTION section-name within the target
shell.
Figure 7-1 on page 7-3 shows an example of a program contained in a window on the
Help page. This program displays a menu of utility names that you can use to start the
utilities on selected pages of the terminal.
The window below the SeeView window is a free window that you can use to display
syntax errors, variable values (PRINT statement), and execution traces (ALTER
STMTTRACE ON).