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

SCHEMA USR
SERVER neo0101.acme.com:18650
SERVICE NAME HP_DEFAULT_SERVICE
SQLTERMINATOR ;
STATISTICS OFF
TIME OFF
TIMING OFF
USER role.dba
This ENV command shows the effect of setting various session attributes:
4:16:43 PM >env
COLSEP " "
DATASOURCE TDM_Default_DataSource
HISTOPT DEFAULT [No expansion of script files]
IDLETIMEOUT 0 min(s) [Never Expires]
LIST COUNT 0 [All Rows]
LOG c:\mydir\examples.log
LOOK AND FEEL NCI
MARKUP RAW
MODE SQL
PROMPT 4:16:49 PM >
ROLE DBA
SCHEMA PERSNL
SERVER neo0101.mylab.mycorp.net:18650
SERVICE NAME HP_DEFAULT_SERVICE
SQLTERMINATOR .
STATISTICS OFF
TIME ON
TIMING ON
USER dba1
4:16:49 PM >
EXIT Command
The EXIT command disconnects from and exits NCI. EXIT can return a status code. If no status
code is specified, zero is returned by default. In addition, a conditional statement can be appended
to the command.
Syntax
EXIT [WITH][status][IF{condition}]
status
is any 1-byte integer. status is a shell return value, and the range of allowable values is
platform dependent.
condition
is the same as the condition parameter defined for the “IF...THEN Command” (page 90). See
“Condition Parameter” (page 90).
Considerations
You must enter the command on one line. The command does not require an SQL terminator.
EXIT Command 83