Neoview Script Guide (R2.2)
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).
Login Parameters
Instead of the default method of logging in to the database platform, use the login parameters
-h (or -host), -u (or -user), -p (or -password), and -dsn when launching Neoview Script.
For more information, see “Logging In When Launching Neoview Script” (page 51).
Using Optional Launch Parameters
To customize how you launch and log in to the Neoview Script interface, use these optional
parameters:
DescriptionLaunch Parameter
Specifies the host name or IP address of the database
platform to which you want the client to connect. The
host-name should include the domain name of the
database platform if it is different from the domain of the
client workstation. If you do not specify a port number,
Neoview Script uses the default port number, which is
18650. For more information, see “Logging In When
Launching Neoview Script” (page 51).
{-h | -host} host-name[:port-number]{-h |
-host} IP-address[:port-number]
Specifies the user name to log in to the database platform.
For more information, see “Logging In When Launching
Neoview Script” (page 51).
{-u | -user} user-name
Specifies the password of the user to log in to the database
platform. For more information, see “Logging In When
Launching Neoview Script” (page 51).
{-p | -password} password
Specifies the name of a data source. The recommended
data source for Neoview Script connections is
Admin_Load_DataSource. 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. For more information, see “Logging In When
Launching Neoview Script” (page 51).
-dsn data-source-name
Specifies that an SQL statement or a Neoview Script
interface command be run when launching the Neoview
Script interface. You cannot specify this parameter at the
same time as the -s or -script parameter. For more
information, see “Running a Command When Launching
Neoview Script” (page 51).
{-q | -sql} "command"
Specifies that a script file be run when launching the
Neoview Script interface. You cannot specify this
parameter at the same time as the -q or -sql parameter.
For more information, see “Running a Script File When
Launching Neoview Script” (page 52).
{-s | -script} script-file-name
50 Launching the Neoview Script Interface