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

PRUN Command
The PRUN command runs script files in parallel.
Syntax
PRUN [ {-d | -defaults} ] |
PRUN [ {-sd | -scriptsdir} scripts-directory]
[ {-e | -extension} file-extension]
[ {-ld | -logsdir} log-directory]
[ {-o | -overwrite} {y | n}]
[ {-c | -connections} num]
-d | -defaults
Specify this option to have PRUN use these default settings:
Table A-3 PRUN Default Settings
Default SettingParameter
PRUN searches for the script files in the same directory as the hpnci.sh or
hpnci.cmd file (hpnci-installation-directory/nci/bin or
hpnci-installation-directory\nci\bin).
-sd | -scriptsdir
The file extension is .sql.-e | -extension
PRUN places the log files in the same directory as the script files.
-ld | -logsdir
No overwriting occurs. PRUN keeps the original information in the log files and
appends new information at the end of each file.
-o | -overwrite
PRUN uses two connections.
-c | -connections
{-sd | -scriptsdir} scripts-directory
In this directory, PRUN processes every file with the specified file extension. If you do not
specify a directory or if you specify an invalid directory, an error message occurs, and you
are prompted to reenter the directory. Before running PRUN, verify that this directory contains
valid script files.
{-e | -extension} file-extension
Specify the file extension of the script files. The default is .sql.
{-ld | -logsdir} log-directory
In this directory, PRUN creates a log file for each script file by appending the .log extension
to the name of the script file. If you do not specify a log file directory, PRUN places the log
files in the same directory as the script files.
{-o | -overwrite} {y | n}
If you specify y, PRUN overwrites the contents of existing log files. By default, PRUN keeps
the original information in the log files and appends new information at the end of each file.
{-c | -connections} num
Enter a number for the maximum number of connections for the data sources. The data source
should support this number of connections. If you do not specify the maximum number of
connections, PRUN uses two connections.
Considerations
You must enter the command on one line. The command does not require an SQL terminator.
You can execute the PRUN command only in SQL mode. However, you can specify other
modes in the script files that you run using PRUN.
If you execute the PRUN command without any arguments, NCI prompts you for the PRUN
arguments. If you specify one or more options, the PRUN command runs without prompting
100 NCI Commands