pTAL Reference Manual (G06.24+, H06.09+, J06.03+)
Difference between pTAL and EpTAL compilers:
EpTAL CompilerpTAL Compiler
On Guardian platforms, object files have the file code 800On Guardian platforms, object files have the file code 700
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 (page 357)
• OUT File Option (page 357)
• HP TACL Run Options (page 357)
• Target File Option (page 358)
You can include one or more compiler directives in the compilation command (see Compilation
Command (page 367)).
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 (page 518). 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 (page 356).
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
HP TACL Run Options
You can include one or more HP TACL run options in the compilation command, such as:
• A process name
• A CPU number
• A priority level
• The NOWAIT option
• A swap volume
For example, you can specify CPU 3 and NOWAIT when you run the compiler:
pTAL /IN mysource, CPU 3, NOWAIT/ myobject
EpTAL /IN mysource, CPU 3, NOWAIT/ myobject
For information about HP TACL run options, see the RUN command in the TACL Reference Manual.
Compiling Source Files 357