SQL Programming Manual for TAL
Program Compilation and Execution
HP NonStop SQL Programming Manual for TAL—527887-001
5-3
Running the TAL Compiler
Running the TAL Compiler
To run the TAL compiler, enter an implicit TACL RUN command at your TACL prompt
or from an OBEY command file. The syntax is:
source-file
is the primary source file of your compilation unit. The source file can be an EDIT
format disk file (file code 101), a terminal, a magnetic tape unit, or a process. The
default is your home terminal (if your TACL process is in interactive mode).
list-file
is the name of the file that receives the output from the compiler. If you specify
OUT without a list file, TAL suppresses the output. If you omit OUT and you started
the compiler from your TACL process, the OUT file is your home terminal. Often,
the list file is a spooler location (for example, $S.#TALLIST).
run-option
is a TACL RUN command option, as described in the TACL Reference Manual.
object-file
is a Guardian file name that specifies the bindable object code for the compilation unit.
If you omit the object file, the compiler creates a file named OBJECT on your
default subvolume. If the compiler cannot create OBJECT (usually, because a file
with this name already exists and cannot be purged), the compiler creates a file
TAL / [ IN source-file ] [, OUT list-file ]
[ , run-option] [ , run-option] ... / [ object-file ]
[ ; directive [ , directive ] ... ]
directive can be:
[ SYMBOLPAGES num-pages ]
[ SQL [ option ]
[ ( option [ , option ] ... ) ]
option is:
[ PAGES num-pages ]
[ RELEASE1 | RELEASE2 ]
[ SQLMAP | NOSQLMAP ]
[ WHENEVERLIST | NOWHENEVERLIST ]