SQL Programming Manual for TAL
Program Compilation and Execution
HP NonStop SQL Programming Manual for TAL—527887-001
5-2
Compiling a TAL Program
Compiling a TAL Program
To compile a TAL source file that contains embedded SQL statements:
1. Run the TAL compiler to compile the TAL statements in each source file of your
program.
2. Use the Binder program, if necessary, to combine multiple object files into one
object file.
3. Run the SQL compiler to compile the SQL statements in the TAL object file.
These steps are described in detail in this section.
Figure 5-1. Compiling and Executing a Program
VST0501.vsd
TAL Object
Code
SQL Source
Statements
TAL Object
Code
SQL Source
Statements
TAL TNS
and TNS/R
Object
Code
SQL Source
Statements
TAL/SQL
Obejct
File (s)
TAL/SQL
Single
Object
File
Single
Object
File
TAL/SQL
TAL/SQL
Obejct
File
Run the
object file
5
1
4
3
2
SQL
Compiler
Accelerator
TAL Compiler
Binder
TAL/SQL
Source
File (s)
TALLIB
Run-Time
Library