pTAL Reference Manual (H06.08+)

Compiling and Linking pTAL Programs
HP pTAL Reference Manual523746-006
16-4
Running the Compiler
Running the Compiler
To run the compiler on Guardian platforms, issue a compilation command at the
HP TACL prompt. Options that you can specify in the compilation command are:
IN File Option on page 16-4
OUT File Option on page 16-4
HP TACL Run Options on page 16-5
Target File Option on page 16-6
You can include one or more compiler directives in the compilation command (see
Compilation Command on page 17-1).
IN File Option
The IN file is the primary source file. You can specify a file name or a DEFINE as
described in Appendix B, Disk File Names and HP TACL Commands. In this example,
the IN file is mysource.
pTAL /IN mysource/ myobject
EpTAL /IN mysource/ myobject
The IN file must be an edit-format disk file. The compiler reads the file as 132-byte
records.
OUT File Option
The OUT file receives the compiler listings. The OUT file can be any of the files listed
in Output Files on page 16-3.
In an unstructured disk file, each record has 132 characters; partial lines are filled with
blanks through column 132. You can specify a file name or a DEFINE name. The OUT
file is often a spooler location, such as $s.#lists in the following example:
PTAL /IN mysource, OUT $s.#lists/ myobject
EPTAL /IN mysource, OUT $s.#lists/ myobject
If you omit OUT and the HP TACL product is in interactive mode, the listings go to the
home terminal. In noninteractive mode, the listings go to the current HP TACL OUT file:
PTAL /IN mysource/ myobject
EPTAL /IN mysource/ myobject