Entering The Tacl Run Command; Running A Program In The Oss Environment - HP NonStop SQL/MP Programming Manual

For c
Table of Contents

Advertisement

Program Execution

Entering the TACL RUN Command

To run an SQL program file from a TACL process, use the TACL RUN (or RUND to
invoke the INSPECT program) command. You can enter a RUN command either
explicitly or implicitly using this syntax.
[ RUN[D] ] program-file [/ [ ,run-option ].../ [ argument
]...
RUN
runs the program file without invoking the Inspect debugger.
RUND
runs the program file under the control of the Inspect symbolic debugger.
program-file
is the name of the SQL program file. For an explicit RUN command, TACL qualifies
a partially qualified file name using the =_DEFAULTS DEFINE. For an implicit RUN
command, TACL searches for program-file in the TACL #PMSEARCHLIST
variable.
run-option
is a RUN command run option as described in the TACL Reference Manual.
argument
is an argument as described in the C/C++ Programmer's Guide. Separate
arguments in a list using spaces, not commas.
For example, this RUN command runs the program file named sqlprog and specifies
the NAME, OUT, and NOWAIT run options:
RUN sqlprog / NAME $sqlrun, OUT $s.#sqlist, NOWAIT /
This RUND command runs the program file named $disk.sql.sqlprog under the
control of the Inspect debugger:
RUND $disk.sql.sqlprog
For more information about the RUN command, see the TACL Reference Manual.

Running a Program in the OSS Environment

To run an SQL program file in the OSS environment, enter the program file name at the
OSS shell prompt. You can also use the OSS run command to run a program file
using HP attributes (for example, a CPU or priority for the process). For information
about the run command, see the Open System Services Shell and Utilities Reference
Manual or the run (1) reference pages.
HP NonStop SQL/MP Programming Manual for C—429847-008
Entering the TACL RUN Command
7-3

Advertisement

Table of Contents
loading

Table of Contents