Neoview Command Interface (NCI) Guide (R2.5)
5. To launch NCI, double-click the shortcut icon.
The Neoview Command Interface appears. If you did not set the optional launch parameters,
NCI prompts you to enter the host name or IP address of the database platform, your user
name, password, and a data source name. See “Logging In to the Database Platform”
(page 35).
Launching NCI on Linux or UNIX
In the terminal window, enter:
./hpnci-installation-directory/nci/bin/hpnci.sh
hpnci-installation-directory is the directory where you installed the NCI software files.
For more information, see the README for the HP Neoview Command Interface (NCI).
Setting the PATH of hpnci.sh
To enable a user to launch NCI anywhere on the client workstation:
1. Open the user profile (.profile or .bash_profile for the Bash shell) in the /home
directory. For example:
vi .profile
2. In the user profile, set the PATH environment variable to include the path of the hpnci.sh
file. For example:
export PATH=/hpnci-installation-directory/nci/bin/:...
hpnci-installation-directory is the directory where you installed the NCI software
files. For more information, see the README for the HP Neoview Command Interface (NCI).
Check that no space is after the colon (:) in the path.
NOTE: In the C shell, use the setenv command instead of export.
3. To activate the changes, either log out and log in again or execute the user profile. For
example:
. .profile
4. On the command line, execute the hpnci.sh file to launch NCI:
hpnci.sh
NCI appears, prompting you to enter the host name or IP address of the database platform,
your user name, password, and a data source name. See “Logging In to the Database
Platform” (page 35).
NOTE: To enable all users to launch NCI anywhere on the system, create a symbolic link
to the hpnci.sh file in the /usr/bin or /usr/local/bin directory:
ln -s ./hpnci-installation-directory/nci/bin/hpnci.sh /usr/bin/hpnci.sh
Presetting the Optional Launch Parameters
To preset the optional launch parameters for each session, use an alias in the shell command.
For example:
alias hpnci='hpnci.sh -h neo0101.mylab.mycorp.net:18650 -u dba1
-p xxxxxx -dsn DataSourceName'
You can add the alias, hpnci, to the user profile, or you can enter it at a command prompt. For
more information about the optional launch parameters, see “Using Optional Launch Parameters”
(page 38).
34 Launching NCI