📄 ferror.gml
字号:
The statement label in the ASSIGN statement in line %d2 references a
%s1 statement.
The statement label in the ASSIGN statement must appear in the same
program unit and must be that of an executable statement or a FORMAT
statement.
.errnote GO-02 ASSIGN of statement number %d1 in line %d2 not allowed
.pc
The statement label %d1 in the ASSIGN statement is used in the line
%d2 which references a non-executable statement.
A statement label must appear in the same program unit as the ASSIGN
statement and must be that of an executable statement or a FORMAT
statement.
.errnote GO-03 expecting TO
.pc
The keyword TO is missing or misplaced in the ASSIGN statement.
.errtail
.errhead Hollerith Constants
.errnote HO-01 hollerith constant is not FORTRAN 77 standard
.pc
Hollerith constants are an extension to the FORTRAN 77 language.
.errnote HO-02 not enough characters for hollerith constant
.pc
The number of characters following the H or h is not equal to the
constant preceding the H or h.
A hollerith constant consists of a positive unsigned integer constant
n followed by the letter H or h followed by a string of exactly n
characters.
.errtail
.errhead IF Statements
.errnote IF-01 ELSE block must be the last block in block IF
.pc
Another ELSE IF block has been found after the ELSE block.
The ELSE block must be the last block in an IF block.
The form of the block IF is as follows:
.millust begin
IF (logical expression) THEN [:block-label]
{statement}
{ ELSE IF
{statement} }
[ELSE
{statement} ]
ENDIF
.millust end
.errnote IF-02 expecting THEN
.pc
The keyword THEN is missing or misplaced in the block IF statement.
The form of the block IF is as follows:
.millust begin
IF (logical expression) THEN [:block-label]
{statement}
{ ELSE IF
{statement} }
[ELSE
{statement} ]
ENDIF
.millust end
.errtail
.errhead I/O Lists
.errnote IL-01 missing or invalid format/FMT specification
.pc
A valid format specification is required on all READ and WRITE
statements.
The format specification is specified by:
.millust begin
[FMT=] <format identifier>
.millust end
.pc
.sy <format identifier>
is one of the following: statement label, integer variable-name,
character array-name, character expression, or *.
.errnote IL-02 the UNIT may not be an internal file for this statement
.pc
An internal file may only be referenced in a READ or WRITE statement.
An internal file may not be referenced in a BACKSPACE, CLOSE,
ENDFILE, INQUIRE, OPEN, or REWIND statement.
.errnote IL-03 %s1 statement cannot have %s2 specification
.pc
The I/O statement %s1 may not have the control information %s2
specified.
.errnote IL-04 variable must have a size of 4
.pc
The variable used as a specifier in an I/O statement must be of size
4 but another size was specified.
These include the EXIST, OPENED, RECL, IOSTAT, NEXTREC, and NUMBER.
The name used in the ASSIGN statement must also be of size 4 but a
different size was specified.
.errnote IL-05 missing or unrecognizable control list item %s1
.pc
A control list item %s1 was encountered in an I/O statement and is not
a valid control list item for that statement, or a control list item
was expected and was not found.
.errnote IL-06 attempt to specify control list item %s1 more than once
.pc
The control list item %s1 in the indicated I/O statement, has been
named more than once.
.errnote IL-07 implied DO loop has no input/output list
.pc
The implied DO loop specified in the I/O statement does not
correspond with a variable or expression in the input/output list.
.errnote IL-08 list-directed input/output with internal files is not FORTRAN 77 standard
.pc
List-directed input/output with internal files is an extension to the
FORTRAN 77 language.
.errnote IL-09 FORTRAN 77 standard requires an asterisk for list-directed formatting
.pc
An optional asterisk for list-directed formatting is an extension to
the FORTRAN 77 language.
The standard FORTRAN 77 language specifies that an asterisk is required.
.errnote IL-10 missing or improper unit identification
.pc
The control specifier, UNIT, in the I/O statement is either missing
or identifies an improper unit.
The unit specifier specifies an external unit or internal file.
The external unit identifier is a non-negative integer expression or
an asterisk.
The internal file identifier is character variable, character array,
character array element, or character substring.
.errnote IL-11 missing unit identification or file specification
.pc
An identifier to specifically identify the required file is missing.
The UNIT specifier is used to identify the external unit or internal
file.
The FILE specifier in the INQUIRE and OPEN statements is used to
identify the file name.
.errnote IL-12 asterisk unit identifier not allowed in %s1 statement
.pc
The BACKSPACE, CLOSE, ENDFILE, INQUIRE, OPEN, and REWIND statements
require the external unit identifier be an unsigned positive integer
from 0 to 999.
.errnote IL-13 cannot have both UNIT and FILE specifier
.pc
There are two valid forms of the INQUIRE statement; INQUIRE by FILE
and INQUIRE by UNIT.
Both of these specifiers cannot be specified in the same statement.
.errnote IL-14 internal files require sequential access
.pc
An attempt has been made to randomly access an internal file.
Internal files may only be accessed sequentially.
.errnote IL-15 END specifier with REC specifier is not FORTRAN 77 standard
.pc
The FORTRAN 77 standard specifies that an end-of-file condition can only
occur with a file connected for sequential access or an internal file.
The REC specifier indicates that the file is connected for direct access.
This extension allows the programmer to detect an end-of-file condition when
reading the records sequentially from a file connected for direct access.
.errnote IL-16 %s1 specifier in i/o list is not FORTRAN 77 standard
.pc
The specified i/o list item is provided as an extension to the
FORTRAN 77 language.
.errnote IL-17 i/o list is not allowed with NAMELIST-directed format
.pc
An i/o list is not allowed when the format specification is a NAMELIST.
.errnote IL-18 non-character array as format specifier is not FORTRAN 77 standard
.pc
A format specifier must be of type character unless it is an array name.
Allowing a non-character array name is an extension to the FORTRAN 77 standard.
.errtail
.errhead IMPLICIT Statements
.errnote IM-01 illegal range of characters
.pc
In the IMPLICIT statement, the first letter in the range of
characters must be smaller in the collating sequence than
the second letter in the range.
.errnote IM-02 letter can only be implicitly declared once
.pc
The indicated letter has been named more than once in this or a
previous IMPLICIT statement.
A letter may only be named once.
.errnote IM-03 unrecognizable type
.pc
The type declared in the IMPLICIT statement is not one of INTEGER,
REAL, DOUBLE PRECISION, COMPLEX, LOGICAL or CHARACTER.
.errnote IM-04 (*) length specifier in an IMPLICIT statement is not FORTRAN 77 standard
.pc
A character length specified of (*) in an IMPLICIT statement is an
extension to the FORTRAN 77 language.
.errnote IM-05 IMPLICIT NONE allowed once or not allowed with other IMPLICIT statements
.pc
The IMPLICIT NONE statement must be the only IMPLICIT statement in
the program unit in which it appears.
Only one IMPLICIT NONE statement is allowed in a program unit.
.errtail
.errhead Input/Output
.errnote IO-01 BACKSPACE statement requires sequential access mode
.pc
The file connected to the unit specified in the BACKSPACE statement
has not been opened for sequential access.
.errnote IO-02 input/output is already active
.pc
An attempt has been made to read or write a record when there is an
already active read or write in progress.
The execution of a READ or WRITE statement has caused transfer to a
function that contains a READ or WRITE statement.
.errnote IO-03 ENDFILE statement requires sequential access mode
.pc
The specified external unit identifier must be connected for
sequential access but was connected for direct access.
.errnote IO-04 formatted connection requires formatted input/output statements
.pc
The FORM specifier in the OPEN statement specifies FORMATTED and the
subsequent READ and/or WRITE statement does not use formatted I/O.
If the FORM specifier has been omitted and access is SEQUENTIAL then
FORMATTED is assumed.
If the access is DIRECT then UNFORMATTED is assumed.
.errnote IO-05 unformatted connection requires unformatted input/output statements
.pc
The FORM specifier in the OPEN statement specifies UNFORMATTED and
the subsequent READ and/or WRITE statement uses formatted I/O.
If the FORM specifier has been omitted and access is SEQUENTIAL then
FORMATTED is assumed.
If the access is DIRECT then UNFORMATTED is assumed.
.errnote IO-06 REWIND statement requires sequential access
.pc
The external unit identifier is not connected to a sequential file.
The REWIND statement positions to the first record in the file.
.errnote IO-07 bad character in input field
.pc
The data received from the record in a file does not match the type
of the input list item.
.errnote IO-08 BLANK specifier requires FORM specifier to be 'FORMATTED'
.pc
In the OPEN statement, the BLANK specifier may only be used when the
FORM specifier has the value of FORMATTED.
The BLANK specifier indicates whether blanks are treated as zeroes or
ignored.
.errnote IO-09 system file error - %s1
.pc
A system error has occurred while attempting to access a file.
The I/O system error message is displayed.
.errnote IO-10 format specification does not match data type
.pc
A format specification in the FMT specifier or FORMAT statement
specifies data of one type and the variable list specifies data of a
different type.
.errnote IO-11 input item does not match the data type of list variable
.pc
In the READ statement, the data type of a variable listed is not of
the same data type in the data file.
For example, non-digit character data being read into an integer
item.
.errnote IO-12 internal file is full
.pc
The internal file is full of data.
If a file is a variable then the file may only contain one record.
If the file is a character array then there can be one record for
each array element.
.errnote IO-13 RECL specifier is invalid
.pc
In the OPEN statement, the record length specifier must be a positive
integer expression.
.errnote IO-14 invalid STATUS specifier in CLOSE statement
.pc
The STATUS specifier can only have a value of KEEP or DELETE.
If the STATUS in the OPEN statement is SCRATCH then the KEEP status
on the CLOSE statement cannot be used.
.errnote IO-15 unit specified is not connected
.pc
The unit number specified in the I/O statement has not been
previously connected.
.errnote IO-16 attempt to perform data transfer past end of file
.pc
An attempt has been made to read or write data after the end of file
has been read or written.
.errnote IO-17 invalid RECL specifier/ACCESS specifier combination
.pc
In the OPEN statement, if the ACCESS specifier is DIRECT then the
RECL specifier must be given.
.errnote IO-18 REC specifier required in direct access input/output statements
.pc
In the OPEN statement, the ACCESS specified was DIRECT.
All subsequent input/output statements for that file must use the REC
specifier to indicate which record to access.
.errnote IO-19 REC specifier not allowed in sequential access input/output statements
.pc
In the OPEN statement, the ACCESS specified was SEQUENTIAL.
The REC specifier may not be used in subsequent I/O statements for
that file.
The REC specifier is used to indicate which record to access when
access is DIRECT.
.errnote IO-20 %s1 specifier may not change in a subsequent OPEN statement
.pc
The %s1 specifier may not be changed on a subsequent OPEN statement
for the same file, in the same program.
Only the BLANK specifier may be changed.
.errnote IO-21 invalid STATUS specifier for given file
.pc
In the OPEN statement, the STATUS specifier does not match with the
actual file status: OLD means the file must exist, NEW means the file
must not exist.
If the STATUS specifier is omitted, UNKNOWN is assumed.
.errnote IO-22 invalid STATUS specifier/FILE specifier combination
.pc
In the OPEN statement, if the STATUS is SCRATCH, the FILE specifier
cannot be used.
If the STATUS is NEW or OLD, the FILE specifier must be given.
.errnote IO-23 record size exceeded during unformatted input/output
.pc
This error is issued when the size of an i/o list item exceeds the
maximum record size of the file.
The record size can be specified using the RECL= specified in the OPEN
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -