Neoview Command Interface (NCI) Guide (R2.4)
hpnci-installation-directory is the directory where you installed the NCI software
files. For more information, see Table 2-1 (page 39). 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
The 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 51).
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 54).
Logging In to the Database Platform
• “Login Parameters” (page 54)
Default Login
NOTE: You must be authorized to log in to the database platform. To create a user ID to log in
to the database, see the Neoview Database Administrator’s Guide.
1. After you launch NCI, NCI shows the welcome banner and prompts you to enter the host
name or IP address of the database platform:
Host Name/IP Address: _
Enter a host name:
host-name[.domain-name][:port-number]
• If you do not specify the domain name, NCI uses the domain of the client workstation.
• If you do not specify a port number, NCI uses the default port number, which is 18650.
Or enter an IP address:
IP-address[:port-number]
2. Enter your user name.
3. Enter your password.
Logging In to the Database Platform 51