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

Section Headers
To create sections of commands within a script file, put a section header at the beginning of each
section:
?SECTION section-name
The section-name cannot begin with a number or an underscore. Each section name in a script
file should be unique because NCI executes the first section that it finds that matches the section
name in the @ or OBEY command. For more information, see the“@ Command” (page 75) or the
“OBEY Command” (page 97).
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 41).
For example, this @ command runs a script file, sch_invent.sql, that creates tables in the
inventory schema:
@C:\ddl_scripts\sch_invent.sql
62 Running Scripts in NCI