Neoview Command Interface (NCI) Guide (R2.4)
Considerations
• You must enter the command on one line.
Examples
This command creates a label using a string of characters:
SQL> LABEL MyNewLabel
This command creates a label using a quoted string:
SQL> LABEL "Neoview Label"
LOCALHOST Command
The LOCALHOST command allows you to execute client machine commands.
Syntax
LOCALHOST | LH <client m/c commands>
Considerations
• You must enter the command on one line. The command does not require an SQL terminator.
• The LOCALHOST command has a limitation. When input is entered for the operating system
commands (for example, date, time, and cmd), the input is not visible until you hit the enter
key.
• The LOCAL HOST command is supported in all modes.
• If the SET TIMING is set to ON, the elapsed time information is displayed.
Examples
• If you are using a Windows system, dir lists the contents of the directory name. Similarly,
if you are on a Unix system you enter LOCALHOST LS to display the contents of the folder.
SQL>LOCALHOST dir
Volume in drive C is E-Client
Volume Serial Number is DC4F-5B3B
Directory of c:\Neoview Command Interface\bin
07/11/2007 01:17 PM <DIR>
07/11/2007 01:17 PM <DIR>
07/16/2007 09:47 AM 1,042 hpnci-perl.pl
07/16/2007 09:47 AM 1,017 hpnci-python.pl
07/16/2007 09:47 AM 752 hpnci.cmd
07/16/2007 09:47 AM 1,416 hpnci.pl
07/16/2007 09:47 AM 2,388 hpnci.py
07/16/2007 09:47 AM 3,003 hpnci.sh
6 Files(s) 19,491 bytes
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 161).
• 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
104 NCI Commands