DSM Template Services Manual

DSM Template Services Manual427187-004
B-1
B TEMPL Errors
About TEMPL Errors and Warnings
The compiler produces two types of diagnostic messages:
Warning messages describe minor errors or ambiguities to help identify potential
trouble.
Error messages describe serious problems that must be corrected before the
compiler can produce an object file.
The compiler places both message types in the listing file.
In most cases, a circumflex (^) points to the problem. The problem is typically at the
circumflex (on the line above) or just after it but can sometimes precede it by several
elements. When a circumflex is not used, the text of the message contains the name of
the item that caused the problem.
To identify a file, the compiler appends an extra line to an error or warning message:
File: file-info
The particular form of file-info depends on the context but is one of:
1. File: file-name
If you did not use a DEFINE name, the compiler uses the form with the Guardian
file name only.
2. File: DEFINE-name
If you used a DEFINE name and the compiler cannot determine the Guardian file
name, the compiler uses the form with the DEFINE name only.
3. File: DEFINE-name (file-name)
If you used a DEFINE name and the compiler can determine the Guardian file
name, the compiler uses the form with both names.
For file errors that occur too rarely to warrant their own text messages, the compiler
includes the file-system error number on the line with the file information:
Err: filesys-errnum File: file-info
These errors are not described in this manual:
File-system errors
Sequential I/O errors, which occur for the listing (OUT) file
For descriptions of these errors, see the
Guardian Procedure Errors and Messages
Manual
.
For descriptions of the Guardian procedures referred to in certain error messages, see
the
Guardian Procedure Calls Reference Manual
.