Neoview Command Interface (NCI) Guide (R2.4)

4. Enter the name of a data source that is available and running (that is, started).
If you do not enter a data source, NCI connects to Admin_Load_DataSource by default.
Admin_Load_DataSource is the recommended data source for NCI connections. If
Admin_Load_DataSource (or any data source that you specify) is not started, NCI returns
an error and prompts you to close the session. If you specify a data source that does not
exist, NCI returns a warning and connects to TDM_Default_DataSource instead.
After you finish logging in to the database platform, the SQL prompt appears.
Welcome to the HP Neoview Command Interface 2.4
(c) Copyright 2006-2009 Hewlett-Packard Development Company, LP.
Host Name/IP Address: neo0101.mylab.mycorp.net:18650
User Name: dba1
Password:
DataSource Name [Admin_Load_DataSource]:
Connected to DataSource: Admin_Load_DataSource
SQL>
At the prompt, you can enter an SQL statement or an NCI command. For more information, see
Chapter 4 (page 59).
NOTE: NCI allows you to re-enter the login parameters (with a maximum of 3 retries), before
it exits from the session. Previously, if the login parameters were incorrect, an error message was
returned and NCI closed the session. You were required to re-launch the NCI session to connect
to the Neoview platform.
The new retry logic is applied as follows:
If a connection fails due to an invalid host name, NCI prompts only for the host name
parameter.
If the login fails due to invalid authorization (invalid user name or password), NCI prompts
only for the user name and password.
If the login fails with an error stating the data source has not started, NCI does not prompt
for the options again.
If all the login parameters are invalid, NCI prompts only for the host name. When a valid
host name is entered, NCI prompts for the user name and password.
The retry logic applies to CONNECT and RECONNECT commands. For the RECONNECT
command, this applies only when no prior connection has been established (-noconnect)
If the -q parameter or -version is included on the command line, NCI does not prompt for
retries. If the -s parameter is included on the command line, NCI prompts for retries.
Any sessions started using redirected/piped input are not prompted for retries.
This example shows a valid user name and password. NCI prompts only for the host name.
hpnci h dd
Welcome to the HP Neoview Command Interface 2.4
(c) Copyright 2006-2009 Hewlett-Packard Development Company, LP.
Unknown Host: dd
Host Name/IP Address: 172.16.1.1
User Name: super.services
Password:
DataSource Name [Admin_Load_DataSource]:
Connected to DataSource: Admin_Load_DataSource
52 Launching NCI