Neoview Command Interface (NCI) Guide (R2.5)
Example
This command stops the data source DDLTestDS being used by the service $MXOAS and also
stops all the NDCS servers that are using this data source:
SQL>stop ds $mxoas, dsname DDLTestDS, stopmode immediate, reason 'test_stop';
STOP SERVER Command
The STOP SERVER command puts the NDCS server in the stopping state.
Syntax
STOP SERVER $service-name.port-number, DIAGID dialog-id
$service-name
is the name of the NDCS service in which the server to be stopped is running.
port-number
is the port number of the NDCS server.
DIAGID dialog-id
identifies the dialogue ID of the NDCS server that has a client connected to it. dialog-id
is an integer that uniquely identifies the client-server connection. See the DIALOGID column
in the STATUS SERVER output in Table C-6 (page 179).
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).
• This command terminates the NDCS server process without notifying the client. The client
sees an error the next time that it tries to communicate with the server. For example, after
the server process is terminated, the client gets an error when it tries to execute a query
because the connection has been terminated.
Example
This command stops the NDCS server identified by the dialogue ID, 1634986073:
SQL>stop server $MXOAS.18657, diagid 1634986073;
STOP SERVICE Command
The STOP SERVICE command executes the controlled shutdown of the NDCS service and:
• Puts the NDCS service in the stopping state but does not terminate the association server
process.
• Stops all data sources and therefore all NDCS servers on the target service.
Syntax
STOP SERVICE $service-name, STOPMODE mode, REASON 'reason-text'
mode is:
IMMEDIATE | DISCONNECT
STOP SERVER Command 183