Neoview Script Guide (R2.2)
Example
This command clears the setting of the ?sal (salary) parameter, and the SET PARAM command
resets it to a new value:
SQL>reset param ?sal
SQL>set param ?sal 80000.00
For more information, see “Resetting the Parameters” (page 65).
RUN Command
The RUN command executes the previously executed SQL statement. This command does not
repeat a Neoview Script interface command.
Syntax
RUN
Considerations
• In the Neoview Script interface, you must enter the command on one line. The command
does not require an SQL terminator.
• You can execute this command only in SQL mode.
Example
This command executes the previously executed SELECT statement:
SQL>select count(*) from persnl.employee;
(EXPR)
--------------------
62
--- 1 row(s) selected.
SQL>run
(EXPR)
--------------------
62
--- 1 row(s) selected.
SQL>
SAVEHIST Command
The SAVEHIST command saves the session history in a user-specified file. The session history
consists of a list of the commands that were executed in the Neoview Script session before the
SAVEHIST command.
Syntax
SAVEHIST file-name [CLEAR]
file-name
is the name of a file into which Neoview Script stores the session history. If you want the
history file to exist outside the local directory where you launch Neoview Script (by default,
106 Neoview Script Interface Commands