
Program Execution
HP NonStop SQL/MP Programming Manual for C—429847-008
7-3
Entering the TACL RUN Command
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
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.
[ RUN[D] ]
program-file
[/ [ ,
run-option
].../ [
argument
]...
Содержание NonStop SQL/MP
Страница 4: ......
Страница 14: ...Contents HP NonStop SQL MP Programming Manual for C 429847 008 x ...
Страница 34: ...Introduction HP NonStop SQL MP Programming Manual for C 429847 008 1 8 SQL MP Version Management ...
Страница 60: ...Host Variables HP NonStop SQL MP Programming Manual for C 429847 008 2 26 VARCHAR Data Type ...
Страница 68: ...SQL MP Statements and Directives HP NonStop SQL MP Programming Manual for C 429847 008 3 8 Finding Information ...
Страница 156: ...Explicit Program Compilation HP NonStop SQL MP Programming Manual for C 429847 008 6 40 SQL Program Files ...
Страница 264: ...Dynamic SQL Operations HP NonStop SQL MP Programming Manual for C 429847 008 10 66 Detailed Dynamic SQL Program ...
Страница 294: ...SQL MP Sample Database HP NonStop SQL MP Programming Manual for C 429847 008 A 6 ...
Страница 300: ...Memory Considerations HP NonStop SQL MP Programming Manual for C 429847 008 B 6 Avoiding Memory Stack Overflows ...
Страница 304: ...Maximizing Local Autonomy HP NonStop SQL MP Programming Manual for C 429847 008 C 4 Skipping Unavailable Partitions ...