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

DELETE DS Command
The DELETE DS command removes a data source from the NDCS configuration. Deleting a data
source removes all the environment and resource policies associated with the data source.
Syntax
DELETE DS data-source-name
data-source-name
is the name of the data source to be deleted. data-source-name is case-sensitive and cannot
be the asterisk (*) wild card. It cannot be the default data source, TDM_Default_DataSource.
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 data source must be in the stopped state in all NDCS services on the system. If not, an
error is generated, and the data source is not deleted. See the “STOP DS Command” (page 182).
The wild card (*) is not supported for the data source name, and the data source name is
case-sensitive. The data source cannot be TDM_Default_DataSource.
If you try to delete a data source that does not exist, NCI returns an error message.
Deleting a data source removes all the environment variables and resource management
policies associated with the data source.
Example
This command removes the data source DDLTestDS from the NDCS configuration:
SQL>delete ds DDLTestDS;
DELETE EVAR Command
The DELETE EVAR command deletes a specific type of environment variable and its values for
the specified data source.
Syntax
DELETE EVAR type, DSNAME data-source-name
type is:
0 | 1 | 2
0
specifies the ENV_SET environment variable, which supports SET commands.
1
specifies the ENV_CONTROL environment variable, which supports CONTROL commands
(CONTROL QUERY DEFAULT and CONTROL TABLE).
2
specifies the ENV_DEFINE environment variable, which supports DEFINE commands.
DELETE DS Command 169