Neoview Command Interface (NCI) Guide (R2.5)
Retrying the Login
NCI allows you to reenter the login values, with a maximum of three retries, before it closes the
session.
NCI applies the retry logic as follows:
• If you specify an invalid host name, NCI prompts you to reenter the host name. For example:
hpnci –h dd
Welcome to the HP Neoview Command Interface 2.5
(c) Copyright 2006-2010 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
SQL>
• If you specify an invalid user name or password, NCI prompts you to reenter the user name
and password. For example, if you specify an invalid password, NCI prompts only for your
user name and password. After three unsuccessful retries, the session is terminated:
hpnci –h 172.16.1.1 –u super.services –p x –dsn TDM_Default_DataSource
Welcome to the HP Neoview Command Interface 2.5
(c) Copyright 2006-2010 Hewlett-Packard Development Company, LP.
Invalid authorization specification
User Name: dba1
Password:
Invalid authorization specification
User Name: dba1
Password:
Invalid authorization specification
Press any key to close this session.
C:/n>
• If all the login parameters that you specify are invalid, NCI prompts you to enter the host
name. When you enter a valid host name, NCI prompts you to enter a user name and
password.
• The retry logic applies to the CONNECT and RECONNECT commands. For the
RECONNECT command, the retry logic applies only when no prior connection has been
established (-noconnect). This example shows the CONNECT command with a valid user
name, host name, and data source. NCI prompts only for the user name and password:
SQL>connect super.services/xxx@neo0101, TDM_Default_DataSource
Invalid authorization specification
User Name: super.services
Password: abc
Connected to DataSource TDM_Default_DataSource.
Logging In to the Database Platform 37