Neoview Command Interface (NCI) Guide (R2.5)
SQL>list service;
START DS Command
The START DS command starts a data source under a specified service. New clients can then
use this data source.
Syntax
START DS $service-name, DSNAME data-source-name
$service-name
is the name of the association server of the NDCS service where the data source should be
started.
DSNAME data-source-name
is the name of the data source to be started. data-source-name is case-sensitive and cannot
be the asterisk (*) wild card. The data source must exist, or the command fails.
Considerations
• To run this command in SQL mode, you must first run the CMDOPEN command. This
command does not run in CS mode.
• The command requires an SQL terminator.
• Only users associated with roles that have OPERATOR privileges can execute this command.
For more information, see the “ADD USER Command” (page 158) or “ALTER USER
Command” (page 167).
• The wild card (*) is not supported for the data source name, and the data source name is
case-sensitive.
• The data source must exist, or the command fails.
• If the data source is already started, START DS returns a success message.
Example
This command starts the data source DDLTestDS for the service $MXOAS:
SQL>start ds $mxoas, DSNAME DDLTestDS;
START SERVICE Command
The START SERVICE command starts:
• The target NDCS service, changing the state of the service from stopping to available.
• All data sources that are configured to start automatically (AUTOSTART ON).
• The initial NDCS servers associated with a started data source.
After the service starts, clients can begin connecting to the NDCS servers.
Syntax
START SERVICE $service-name
$service-name
is the name of the association server of the NDCS service to be started. The service is in the
stopped state if it was configured to enter that state at startup or if an operator previously
issued a STOP SERVICE command.
176 Connectivity Commands