TAL Reference Summary

About Error and Warning Messages
TAL Reference Summary
74 096256 Tandem Computers Incorporated
About Error and
Warning Messages
The compiler scans each line of the source code and notifies you of an error or
potential error by displaying one of two types of messages:
Message Meaning User Action
Error Indicates a source error that prevents
compilation of the source file into an
object file.
Correct the error and recompile the source
code.
Warning Indicates a potential error condition
that might affect program compilation
or execution.
Check the source code carefully. If your
program is adversely affected, make
corrections and recompile the source code.
To indicate the location of the error or potential error, the compiler prints a circumflex
symbol (^) in the source listing. The circumflex usually appears under the first
character position following the detection of the error. (However, if the error involves
the relationship of the current source line with a previous line, the circumflex does not
always point to the actual error.)
On the next line, the compiler displays a message describing the nature of the error.
The forms of error and warning messages are:
**** ERROR ****
message-number
--
message-text
**** WARNING ****
message-number
--
message-text
Occasionally, the compiler adds a third line for supplemental information. For
example, the following message refers you to an earlier procedure that contains an
error:
IN PROC
proc-name
As another example, the following line refers you to a previous page that contains an
error:
PREVIOUS ON PAGE #
page-num
Error messages are described on the following pages in ascending numeric order,
followed by warning messages. Although the compiler prints each message on a
single line, some messages here are continued on additional lines because of line
limitations.
Messages no longer in use are not shown in the list. Thus, a few numbers are omitted
from the numeric sequence.