TAL Reference Summary

Warning Messages
TAL Reference Summary
114 096256 Tandem Computers Incorporated
28 More than one MAIN specified. MAIN is still
name
Although the source code can contain more than one MAIN procedure, in the object
code only the first MAIN procedure the compiler sees retains the MAIN attribute.
If the program contains any COBOL or COBOL85 program units, the MAIN procedure
must be written in COBOL or COBOL85, respectively. For more information, see the
COBOL85 Reference Manual.
29 One or more illegal attributes
Incorrect attributes appear in a subprocedure declaration, which can have only the
VARIABLE attribute. The compiler ignores all attributes but VARIABLE.
32 RETURN not encountered in typed PROC or SUBPROC
A RETURN statement is missing from a function or the RP counter of the compiler is 7
(empty register stack). To return a value from the function, include at least one
RETURN statement with an expression; this action automatically places the value on
the register stack. You can alternatively use a CODE or STACK statement to place the
value on the register stack; however, this practice might be compatible only with TNS
systems.
33 Redefinition size conflict
In a structure declaration, a variable redefinition appears in which the new item is
larger than the previously declared item. If your program is adversely affected,
correct the variable redefinition so that the new item is the same size or shorter than
the previous item.
34 Redefinition offset conflict
In a structure declaration, a variable redefinition appears in which the new item
requires word alignment, while the previously declared item has an odd-byte
alignment. If your program is adversely affected, correct the variable redefinition so
that the new item and the previous item are both word aligned or both byte aligned.