FORTRAN Reference Manual
Compile-Time Diagnostic Messages
FORTRAN Reference Manual—528615-001
F-18
Error Messages
Cause. The source statement references a statement label that is more than five 
digits.
Recovery. Correct the source statement. This problem can arise when the source 
program has line sequence numbers to the right of column 72, which are treated as 
part of the statement (remember that FORTRAN ignores blanks). In this case, use the 
ANSI compiler directive so that the compiler scans only columns 1 through 72.
Cause. A constant or expression of a non-integer data type appears in an array 
declarator as a dimension’s upper or lower bound, or as a bound in a substring name, 
or as a repetition count in the constant list of a DATA statement, or as a unit number in 
an I/O statement. Or, a constant or expression of a non-character data type appears as 
a format in an I/O statement.
Recovery. Correct the statement.
Cause. The indicated control specifier in an I/O statement designates an entity of an 
unacceptable data type.
Recovery. Correct the statement.
Cause. The indicated variable or array is used as a format designator in an I/O 
statement but its data type is not character.
Recovery. Correct the statement.
Cause. A data type statement contains a syntax error.
Recovery. Correct the statement.
INVALID STATEMENT NUMBER ** label
INVALID TYPE FOR THIS CONTEXT
INVALID TYPE FOR THIS CONTEXT ** keyword
INVALID TYPE FOR THIS CONTEXT ** name
INVALID TYPE STATEMENT










