Neoview Command Interface (NCI) Guide (R2.3)
Considerations
• You must enter the command on one line. The command does not require an SQL terminator.
• Only ROLE.MGR can execute this command.
Example
This DENY command revokes access to the dumpfile.
SQL>DENY SERVICES ACCESS TO DUMPFILES
--- NS operation complete.
DISCONNECT Command
The DISCONNECT command terminates the connection from the Neoview platform, not from
NCI.
Syntax
DISCONNECT [IF ERRORCODE{=|<|>|<=|>=|<>}error-code]
error-code
is an integer that represents an error condition of the previously executed command. If the
previously executed command returns this error code, NCI disconnects and exits.
Commands that execute successfully in NCI have an error code of zero (0). Interface commands
that do not perform SQL operations and that fail to execute have an NCI error code. A failed
SQL operation has a specific SQL error code associated with the error condition. For more
information about SQL error messages, see the Neoview Messages Manual.
Considerations
You must enter the command on one line.
Examples
This command terminates the connection to the Neoview platform. You can connect to the
Neoview platform by using the CONNECT and RECONNECT commands:
SQL>disconnect
Session Disconnected. Please connect to the database by using connect/reconnect command.
ENV Command
ENV displays attributes of the current NCI session. You can also use the SESSION and SHOW
SESSION commands to perform the same function.
Syntax
ENV
DISCONNECT Command 95