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

does not use HP TACL ASSIGN SSV information (available only on Guardian platforms) to
complete the file name.
define-name
is the name of a MAP DEFINE that refers to an error file.
NOTE: MAP DEFINEs are available only on Guardian platforms.
assign-name
is a logical file name you have equated with an error file by issuing an ASSIGN command.
NoneDefault:
Placement:
In the compilation command or in the source code before any declarations
Can appear only once in a compilation unit
Applies to the compilation unitScope:
NoneDependencies:
The compiler writes a header record to the error file and then writes a record for each error or
warning. Each record contains information such as:
The location of the error or warning—source file name, edit line number, and column number
The message text of the error or warning
At the end of the compilation, the compiler prints the complete name of the error file in the trailer
message of the compilation listing.
After the compiler logs messages to the error file, you can call the HP TACL FIXERRS macro and
correct the source file. FIXERRS uses the PS Text Edit ANYHOW option to open the source file in
a two-window session. One window displays a diagnostic message. The other window displays
the source code to which the message applies. If you have write access to the file, you can correct
the source code. If you have only read access, you can view the source code, but you cannot
correct it.
Initially, the edit cursor is located in the source code at the first diagnostic. To move the cursor to
the next or previous diagnostic, use the PS Text Edit NEXTERR or PREVERR command.
The HP TACL command for calling FIXERRS is:
error-file
is the name of the error file specified in the ERRORFILE directive.
tedit-cmds
is any PS Text Edit commands that are allowed on the PS Text Edit run line.
Example 342 (page 393) issues an HP TACL DEFINE command that calls FIXERRS and defines PS
Text Edit function keys for NEXTERR and PREVERR.
392 Compiler Directives