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

Example of a Script File
This script file creates tables in the inventory schema:
Running a Script File
To run a script file in NCI, use the @ or OBEY command. The @ and OBEY commands run one
script file at a time in the Neoview Command Interface. To run a script file when launching NCI,
see “Running a Script File When Launching NCI” (page 56).
For example, this @ command runs a script file, sch_invent.sql, that creates tables in the
inventory schema:
@C:\ddl_scripts\sch_invent.sql
NOTE: If the script file is outside the directory of the hpnci.cmd or hpnci.sh file (by default,
the Neoview Command Interface bin directory), you must specify the full path of the script
file in the @ or OBEY command. For the Neoview Command Interfacebin directory, see Table 2-1
(page 39).
SQL>@C:\ddl_scripts\sch_invent.sql
SQL>-- CREATE SCHEMA
SQL>CREATE SCHEMA INVENT;
76 Running Scripts in NCI