README for the HP Neoview Command Interface (NCI) (Upd1 R2.3 SP2)

For information about how to install, verify, and use NCI, see the Neoview Command Interface
Guide.
For information about setting up the client, such as choosing the look and feel of the interface or
presetting launch parameters, see the Neoview Command Interface Guide.
Using Conditional Statements
NCI now supports conditional statements. In addition, the EXIT command has been enhanced.
Note: These commands do not appear in the NCI Guide for R2.3, but will be included in a follow
on release.
LABEL Command
GOTO Command
IF…THEN Command
SHOW ACTIVITYCOUNT Command
SHOW ERRORCODE Command
EXIT Command (enhanced)
LABEL Command
The LABEL command marks a point in the command history that can be jumped to using the
GOTO command. See the GOTO command for more information.
Syntax:
LABEL { Label }
Label is a string of characters without quotes and spaces, or a quoted string.
This command has to be entered on a single line.
Example:
SQL> LABEL MyNewLabel SQL> LABEL Neoview Label
GOTO Command
All commands executed after a GOTO statement are ignored until the specified label is set. The
GOTO command cannot currently jump back in the command history; it is a forward-only
command. To set a label, use the LABEL command.
Syntax:
GOTO { Label }
Label is a string of characters without quotes and spaces, or a quoted string.
This command has to be entered on a single line.
Example:
SQL> GOTO ViewManagers
SQL> SELECT * FROM Employees; -- skipped
SQL> SHOW RECCOUNT; -- skipped
SQL> LABEL ViewManagers
SQL> SELECT * FROM Managers;
SQL> GOTO View Customers
SQL> SELECT * FROM Invoices; -- skipped
SQL> LABEL View Customers
SQL> SELECT * FROM Customers;
IF…THEN Command
IF…THEN statements allow for conditional execution of actions. If the condition is met then the
action is executed, otherwise no action is taken.
Using Conditional Statements 21