Neoview Script Guide (R2.2)
4. Enter the name of a data source that is available and running (that is, started).
If you do not enter a data source, Neoview Script connects to Admin_Load_DataSource
by default. Admin_Load_DataSource is the recommended data source for Neoview Script
connections. If Admin_Load_DataSource (or any data source that you specify) is not
started, Neoview Script returns an error and prompts you to close the session. If you specify
a data source that does not exist, Neoview Script 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 Script Interface 2.2
(c) Copyright 2006, 2007 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 a Neoview Script interface command. For
more information, see Chapter 4 (page 55).
NOTE: Starting in R2.2, Neoview Script 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 Neoview Script closed the session. You were
required to re-launch the Neoview Script 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, Neoview Script prompts only for the host
name parameter.
• If the login fails due to invalid authorization (invalid user name or password), Neoview
Script prompts only for the user name and password.
• If the login fails with an error stating the data source has not started, Neoview Script does
not prompt for the options again.
• If all the login parameters are invalid, Neoview Script prompts only for the host name. When
a valid host name is entered, Neoview Script 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, Neoview Script does not
prompt for retries. If the -s parameter is included on the command line, Neoview Script prompts
for retries.
Any sessions started using redirected/piped input are not prompted for retries.
• This example shows a valid user name and password. Neoview Script prompts only for the
host name.
hpnvs –h dd
Welcome to the HP Neoview Script Interface 2.2
(c) Copyright 2006, 2007 Hewlett-Packard Development Company, LP.
Unknown Host: dd
Host Name/IP Address: 172.16.1.1
User Name: super.services
Password:
48 Launching the Neoview Script Interface