SQL Programming Manual for TAL

HP NonStop SQL Programming Manual for TAL527887-001
5-1
5
Program Compilation and Execution
This section describes the compilation and execution of a TAL program that contains
embedded SQL statements. This section covers:
Compiling a TAL source program including running the TAL and SQL compilers,
running the Accelerator, and using the Binder program
Determining SQL program file validity
Understanding automatic SQL recompilation
Maximizing local autonomy
Executing an SQL program file
Figure 5-1
on page 5-2 shows the steps you follow to compile and execute a TAL
program that contains embedded SQL statements. Steps 1 through 4 are described
under Compiling a TAL Program
on page 5-2. These steps are similar to the steps for
compiling a TAL program that does not contain embedded SQL statements, except for
the SQL compilation step (Step 4). Step 5 is described under Executing an SQL
Program File on page 5-30.