COBOL Manual for TNS/E Programs (H06.08+, J06.03+)

504 (Error)
Reference modifier permitted only for alphanumeric functions
Cause
A reference modifier was applied to a function whose return type is not alphanumeric.
510 (Error)
EXIT PERFORM [CYCLE] must be within an in-line perform
Cause
An EXIT PERFORM or EXIT PERFORM CYCLE statement appears in a context other than within
an inline PERFORM statement.
511 (Error)
Expected key-word CYCLE or other verb
Cause
The keyword PERFORM is followed by something other than the keyword CYCLE or another
verb.
512 (Error)
Expected key-word PARAGRAPH
Cause
The keyword EXIT is followed by something other than the keyword PARAGRAPH.
513 (Error)
An EXIT PARAGRAPH must be contained in a paragraph
Cause
An EXIT PARAGRAPH statement is not inside a paragraph. (You must be within a paragraph to
exit from one.)
514 (Error)
An EXIT SECTION must be contained in a section
Cause
An EXIT SECTION statement is not inside a section. (You must be within a section to exit from
one.)
515 (Error)
Expected YYYYMMDD after DATE or YYYYDDD after DAY
Cause
In the ACCEPT statement, either DATE appears followed by something other than YYYYMMDD
or DAY appears followed by something other than YYYYDDD.
520 (Error)
Possible odd byte address for parameter
Cause
A data structure that could start on an odd byte was passed as a parameter to a CALL statement.
If the data structure actually does start on an odd byte, the wrong address will be passed to the
CALL statement. Certain subscript combinations cause this problem.
1172 Compiler Diagnostic Messages