pTAL Reference Manual (G06.24+, H06.09+, J06.03+)

By default, the compiler and its processes can run at a high PIN. If your compilation accesses files
on systems running C-series software, you must run the compiler at a low PIN.
To run the compiler at a low PIN, set HIGHPIN OFF, as shown in the following HP TACL command:
SET HIGHPIN OFF
When you set HIGHPIN OFF in the HP TACL program, the program runs all processes at a low
PIN except processes that explicitly specify the HIGHPIN ON option when the process is created.
To ensure that the compiler runs at a low PIN without affecting other processes, specify the run
command’s HIGHPIN OFF option, as in the following example:
PTAL / HIGHPIN OFF .../ ...
EPTAL / HIGHPIN OFF .../ ...
Target File Option
The target file is the disk file that is to receive the object code. You can specify a file name or a
DEFINE name as described in Appendix B (page 518).
These examples write the object code to a disk file named myobject:
pTAL /IN mysource/ myobject
EpTAL /IN mysource/ myobject
If you omit the target file, the compiler creates a file named object on your current default
subvolume.
If an existing file has the name object or the name you specify, and the existing file has the
correct filecode (700 for the pTAL compiler, 800 for EpTAL compiler), the compiler overwrites the
existing file. (The compiler overwrites the existing file by purging it and then creating a new file
that has the same name and filecode.)
If the compiler cannot purge the existing file, the compiler creates a file named ZZPTnnnn, where
nnnn is a different number each time.
Completion Codes Returned by the Compiler
When the compiler compiles a source file, it either completes the compilation normally or stops
abnormally. It then returns a process-completion code to the HP TACL product indicating the status
of the compilation.
Table 73 Completion Codes
MeaningTerminationCode
The compiler found no errors or unsuppressed warnings in the source file. (Warnings
suppressed by the NOWARN directive do not count.) The object file is complete
and valid (unless a SYNTAX directive suppressed its creation).
Normal0
The compiler found at least one unsuppressed warning. (Warnings suppressed by
the NOWARN directive have no effect.) The object file is complete and valid
(unless a SYNTAX directive suppressed its creation).
Normal1
The compiler found at least one compilation error and did not create an object
file, but completed processing the source.
Normal2
The compiler exhausted an internal resource such as symbol table space or could
not access an external resource such as a file. The compiler did not create an
object file.
Abnormal3
The compiler could not use the object file name you specified, so it chose the name
reported in the summary. The object file is complete and valid.
Normal8
Linking Object Files
The linker links one or more linkfiles to produce either a loadfile or another linkfile.
358 Compiling and Linking pTAL Programs