If you manually started an ObjectServer from the command
line, you must manually stop the ObjectServer by using the SQL interactive
interface. You must have the appropriate permissions to stop the ObjectServer.
Procedure
To stop an ObjectServer that was started manually:
- Connect to an ObjectServer by running the appropriate command
for your operating system:
Operating system |
Command |
UNIX |
$NCHOME/omnibus/bin/nco_sql [ -server servername ] [ -user username ] |
Windows |
%NCHOME%\omnibus\bin\isql -S servername -U username |
In these commands,
servername is the name
of a local or remote ObjectServer and
username is
a valid user name.
If you do not specify
the -server command-line option, the SQL interactive
interface connects to the NCOMS ObjectServer. If you do not specify
a user name, the default is the user running the command.
You must specify the ObjectServer name and user
name.
- Provide the requested password.
- When the SQL prompt is displayed, enter the following commands:
1> alter system shutdown;
2> go
The
nco_sql command does
not allow whitespace preceding the
go keyword. Any whitespace
causes the SQL statements to fail.
Results
If an ObjectServer is started under process control, the process
agent restarts it automatically after a manual shutdown. In this case,
you must shut down the ObjectServer using process control.