SQL/MP Programming Manual for COBOL85
Program Execution
HP NonStop SQL/MP Programming Manual for COBOL85—429326-004
7-2
Entering the TACL RUN Command
Entering the TACL RUN Command
To execute 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 by using this syntax:
RUN
executes the program file without invoking the Inspect debugger.
RUND
executes 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 by 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.
param-set
is one or more parameters to pass to the new process.
For example, this RUN command runs the program file, SQLPROG, and specifies the
NAME, OUT, and NOWAIT run options:
RUN sqlprog / NAME $sqlrun, OUT $s.#sqllist, NOWAIT /
This RUND command runs the program file, $DISK2.SQL.SQLPROG, under the
control of the Inspect debugger:
RUND $disk.sql.sqlprog
For additional information about the RUN command, see the TACL Reference Manual.
[ RUN[D] ] program-file [ / [ , run-option ]... / ]
[ param-set ]