Neoview Script Guide (R2.2)
SQL>spool on
• This command starts the logging process and appends new information to an existing log
file, persnl_updates.log, in the local directory (the same directory where you are running
Neoview Script):
SQL>spool persnl_updates.log
• This command starts the logging process and appends new information to a log file,
sales_updates.log, in the specified directory on a Windows workstation:
SQL>spool c:\log_files\sales_updates.log
• This command starts the logging process and appends new information to a log file,
sales_updates.log, in the specified directory on a Linux or UNIX workstation:
SQL>spool ./log_files/sales_updates.log
• This command starts the logging process and clears existing information from the log file
before logging new information to the file:
SQL>spool persnl_ddl.log clear
• This command stops the logging process:
SQL>spool off
For more information, see “Logging Output” (page 68).
VERSION Command
The VERSION command displays the build versions of the Neoview platform, Neoview
Connectivity Services, Neoview Script and the Neoview JDBC Type 4 Driver.
Syntax
VERSION
Considerations
In the Neoview Script interface, you must enter the command on one line. The command does
not require an SQL terminator.
Example
• This command shows versions of the Neoview platform, Neoview Connectivity Services,
Neoview JDBC Type 4 Driver, and Neoview Script:
SQL>version
Neoview Platform : N02.02.16.0
Neoview Connectivity Services : T7970N25_10AUG07_N25_SRV_0626
Neoview JDBC Type 4 Driver : T1249_N25(R2.2)_10AUG07_HP_JDBCT4_2007_07_03
Neoview Script : T0774_N25(R2.2)_10AUG07_HP_NVS_2007_07_05
SQL>
• If Neoview Script is started with the -noconnect parameter, the VERSION command
displays only the Neoview Script and the Neoview JDBC Type 4 Driver versions.
C:/>hpnvs -noconnect
Welcome to the HP Neoview Script Interface 2.2
(c)Copyright 2006, 2007 Hewlett-Packard Development Company, LP.
Not connected.
SQL>VERSION
Neoview JDBC Type 4 Driver : T1249_N25(R2.2)_10AUG07_HP_JDBCT4_2007_07_03
Neoview Script : T0774_N25(R2.2)_10AUG07_HP_NVS_2007_07_05
For more information, see “Verifying the Installed Version of Neoview Script” (page 35).
138 Neoview Script Interface Commands