SQL Programming Manual for Pascal

Program Compilation and Execution
HP NonStop SQL Programming Manual for Pascal528614-001
5-3
Running the Pascal Compiler
5. Run the object file from a terminal using the TACL RUN (or RUND) command or
from a process using a system procedure such as NEWPROCESS.
Running the Pascal Compiler
The Pascal compiler generates Pascal object code in the program file. To run the
Pascal 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.
list-file
is the name of the file that receives the output from the compiler. If you specify
OUT without a list file, Pascal suppresses the output. If you omit OUT and you start
the compiler from your TACL process, the OUT file is your home terminal. Often,
the list file is a spooler location.
volume
is the name of a disk volume to hold the swap files and other temporary files that
the compiler creates during the compilation.
Pascal / [ IN source-file ] [, OUT list-file ]
[ , SWAP volume ] [ , run-option] [ , run-option]
/ [ object-file ] [ ; directive [ , directive ] ... ]
directive includes:
[ SYMBOLPAGES num-pages ]
[ SQL [ option ]
[ ( option [ , option ] ... ) ]
option is:
[ PAGES num-pages ]
[ RELEASE1 | RELEASE2 ]
[ SQLMAP | NOSQLMAP ]
[ WHENEVERLIST | NOWHENEVERLIST ]