Neoview Command Interface (NCI) Guide (R2.3)
2 Dir (s) 57,686,646,784 bytes free
SQL> LH mkdir c:\neo -> Will create a directory c:\neo on your local machine
For more information, see Appendix C (page 157).
• This command displays the elapsed time information because the SET TIMING command
is set to ON:
SQL>set timing on
SQL>localhost ls
hpnci-perl.pl
hpnci-python.py
hpnci.cmd
hpnci.pl
hpnci.py
hpnci.sh
Elapsed :00:00:00.078
LOG Command
The LOG command logs the entered commands and their output from NCI to a log file. If this
is an obey script file, then the command text from the obey script file is shown on the console.
Syntax
LOG { ON [CLEAR, QUIET, CMDTEXT {ON | OFF}] | log-file [CLEAR, QUIET, CMDTEXT {ON | OFF}] | OFF }
ON
starts the logging process and records information in the sqlspool.lst file in the NCI bin
directory.
CLEAR
instructs NCI to clear the contents of the sqlspool.lst file before logging new information
to the file.
QUIET
specifies that the command text is displayed on the screen, but the results of the command
are written only to the log file and not to the screen.
CMDTEXT ON
specifies that the command text and the log header are displayed in the log file.
CMDTEXT OFF
specifies that the command text and the log header are not displayed in the log file.
log-file
is the name of a log file into which NCI records the entered commands and their output. If
you want the log file to exist outside the local directory where you launch NCI (by default,
the NCI bin directory), specify the full directory path of the log file. The log file does not
need to exist, but the specified directory must exist before you execute the LOG command.
log-file CLEAR
instructs NCI to clear the contents of the specified log-file before logging new information
to the file.
OFF
stops the logging process.
Considerations
• You must enter the command on one line. The command does not require an SQL terminator.
• Use a unique name for each log file to avoid writing information from different NCI sessions
into the same log file.
• This command works in all modes.
104 NCI Commands