SQL Programming Manual for Pascal
Program Compilation and Execution
HP NonStop SQL Programming Manual for Pascal—528614-001
5-7
Running the SQL Compiler
You must run the SQL compiler on the same system on which object-file
exists. If you do not specify a system or volume name, the SQL compiler uses your
current default values.
list-file
is the destination to which the SQL compiler directs the listing; list-file can be
a disk file name, process name (including a spooler collector), or a device name
(including a terminal, magnetic tape unit, line printer). The syntax is:
[\ system.] external-file
\ system
is an optional system name
\ external-file
is one of the following NonStop Kernel operating system names:
[$ volume-name.][ subvolume-name.] disk-file-name
$ device-name
$ device-number
$ process-name
$ spooler-collector-name[.# spooler-location-name]
If list-file does not exist, the SQL compiler creates it. If list-file already
exists, the SQL compiler appends the new output to it.
If you specify OUT but omit list-file, the SQL compiler does not produce a
listing.
If you omit OUT, the SQL compiler directs the listing to the OUT file of the invoking
process (usually your home terminal).
catalog-name
is the name of the catalog that holds a description of the program; catalog-name
is a subvolume name. If you partially qualify the catalog name, the system expands
the name by using your current default values.
You can specify a DEFINE name for catalog-name.
The catalog must exist on the same system where you are running the SQL
compiler. The catalog and the object file must also be on the same system.
If the program was previously SQL compiled and recorded in a different catalog,
catalog-name overrides the catalog name stored in the program file. The
program is dropped from the previous catalog and recorded in catalog-name.
If you omit the CATALOG clause, the SQL compiler uses the current default
catalog. If you have not defined a default catalog, the SQL compiler uses your
current default subvolume.