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

command
is an NCI command or Neoview SQL command.
SQL-terminator
is the default terminator (;) or a string value defined for the statement terminator by the “SET
SQLTERMINATOR Command” (page 130). For more information, see “Setting and Showing
the SQL Terminator” (page 62).
Considerations
The ALIAS command can be used in all modes.
The ALIAS command requires the SQL terminator.
You must enter the ALIAS command on one line.
The ALIAS command lasts only for the duration of the session.
An alias on an alias is not supported.
Examples
This command creates an alias named .OS to perform the LOCALHOST (LH) command:
SQL> ALIAS .OS AS LH;
This command executes the new ALIAS with the ls option:
SQL>.OS ls
hpnci-perl.pl
hpnci-python.py
hpnci.cmd
hpnci.pl
hpnci.py
hpnci.sh
settings.pl
settings.py
This command creates an alias named .GOTO to perform the GOTO command:
SQL> ALIAS .GOTO AS GOTO;
SQL> .GOTO mylabel
GOTO statement executed, ignoring all commands until a 'LABEL
MYLABEL' command is encountered.
This command creates an alias named USE to perform the SET SCHEMA operation, uses the
alias to set the schema to NEO.USR, and checks the current schema to verify that the alias worked
correctly:
SQL> ALIAS USE AS "SET SCHEMA";
SQL> USE NEO.USR;
SQL> SHOW SCHEMA
SCHEMA USR
ALLOW Command
The ALLOW command allows you to grant read access for dumpfiles to super.services (HP
support personnel), which they can use to diagnose a problem. This command controls whether
or not HP support can read memory dumps.
Syntax
ALLOW [SERVICES] ACCESS TO DUMPFILES
90 NCI Commands