Silverfrost Logo About Us | Contact Us
 

Execution errors and IOSTAT values

All execution error messages consist of a message in English. These messages are listed below. Execution errors corresponding to input/output statements can be trapped by means of the ERR= and/or IOSTAT= keyword specifiers used with the input/output statements. The value returned by IOSTAT in this case is n where n is the execution error number that appears in the table below. Users are advised to trap specific errors by means of IOSTAT rather than to continue execution regardless of the error that has been detected by the input/output system.

Notes:

  • The IOSTAT value -1 indicates that an end-of-file condition has occurred.

  • The positive values chosen for IOSTAT in this implementation of Fortran 95 will, in all probability, differ from those chosen in any other implementation for the same error conditions.

 

Error No.

Message

0

No error

1

Floating point arithmetic over flow

2

Integer arithmetic overflow

3

Argument to CHAR outside range 0 - 255

4

Character argument/function name of wrong length

5

Attempt to execute invalid as signed GOTO

6

Inconsistent call to routine

7

DO-loop has zero increment

8

User-specified range check error

9

Might be array bound error or corrupt program - rerun with checks

10

Lower substring expression > up per

11

Array subscript(s) out-of-bounds

12

Lower substring expression out-of-range

13

Illegal character assignment

14

Attempt to alter an actual argu ment that is either a constant or a DO variable

15

Attempt to access undefined ar gument to routine

16

Lower array bound > upper bound

17

Upper substring expression out-of-range

18

This routine has been entered re cursively (/ANSI mode)

19

Actual array argument size smaller than dummy array argu ment size

20

Argument to SINH/COSH out of range

21

Zero raised to negative or zero power

22

Floating point division by zero

23

Floating point arithmetic under flow

24

This source has not been com piled with /PROFILE

25

Argument to EXP out-of-range

26

Argument to ASIN/ACOS out-of-range

27

Invalid floating point number

28

Negative argument to square root

29

Call to missing routine

30

Storage heap is corrupt

31

Floating point number too big for integer conversion

32

Second argument to MOD is zero

33

Both arguments to ATAN2/DATAN2 zero

34

Negative or zero argument to logarithm routine

35

Illegal argument to TAN routine

36

Negative number raised to non-integer power

37

Integer divide overflow

38

Illegal character assignment (R.H.S. overlaps L.H.S.)

39

Illegal window

40

No more windows available

41

Maximum number of breakpoints already set

42

This line number is not available as a breakpoint

43

Invalid command

44

Unable to open file

45

String not found

46

Routine not found or not com piled in check mode

47

Invalid expression

48

No more room for debugger in formation

49

Attempt to call a block data sub program

50

Undefined input/output error

51

Format/data mismatch

52

Invalid character in field

53

Overflow detected by in put/output routine (data out-of-range)

54

m > w in Iw.m run-time format

55

m > w in Ow.m

56

Unit has been closed by means other than a CLOSE statement

57

Attempt to read past end-of-file

58

Corrupt listing file

59

There is no repeatable edit de scriptor in this format

60

Invalid external unit identifier

61

Invalid scale factor

62

Invalid or missing repeat count

63

Preconnected file comprises for matted records

64

Preconnected file comprises un formatted records

65

This command is not permitted from this window

66

File not in correct format

67

Character buffer too small

68

Field width exceeds direct access record size

69

Invalid record length (see docu mentation)

70

Logical input field is blank

71

H or apostrophe editing not al lowed for input

72

Repeated formats nested too deep (>10)

73

Missing opening parenthesis in 'run-time' format

74

Invalid editing descriptor

75

A zero or signed repeat count is not allowed

76

Repeat count not allowed

77

Digit(s) expected

78

Decimal point missing

79

Missing separator

80

Invalid ACCESS specifier

81

Invalid combination of specifiers

82

ANSI - RECL is an invalid specifier

83

Label does not reference a format statement

84

Only BLANK may be changed for a file that exists for a given program

85

Repeated character constant must not extend past the end of a line

86

Character input/output list item is part of internal file

87

ENCODE/DECODE character count zero or negative

88

Internal file must not be constant or expression

89

Attempt to write past end of in ternal file

90

File access and properties are in compatible

91

Missing ) from complex number

92

Invalid CLOSE statement

93

Missing ( from complex number

94

Unit has neither been OPENed nor preconnected

95

Invalid direct access record num ber

96

Illegal operation (BACKSPACE/ENDFILE/REWIND) on a direct access file

97

Direct access record length too big

98

Invalid FILETYPE specifier

99

A function which performs I/O must not be referenced in a WRITE or PRINT statement

100

List-directed input/output is not allowed with direct access

101

Direct access is not allowed with an internal file

102

A formatted

103

Missing FILE specifier

104

File positioned at end-of-file

105

Invalid record length for existing direct access file

106

A valid record length must be specified if access is direct

107

STATUS=NEW must not be used with an existing file

108

Direct access record length mis match

109

Brackets nested too deeply (>20)

110

Unformatted record is corrupt

111

Coprocessor invalid operation

112

Reference to undefined variable or array element (/UNDEF)

113

Insufficient allocatable storage

114

Emulator failure

115

Invalid hash table

116

Too many files open

117

Disk full

118

ANSI - exponent out-of-range (use Ew.dEe or Gw.dEe edit descriptors)

119

Down to page reserve

120

Reference to non-existent Weitek coprocessor

121

Too many registered traps

122

No high resolution graphics mode is available

123

Too many labels in debug macro file

124

This command is only allowed in a macro

125

A file of this name already exists

126

ANSI - invalid STATUS specifier

127

ANSI - invalid edit descriptor

128

File does not exist

129

Invalid attempt to use peripheral

130

Unformatted record too big

131

ANSI - octal/hexadecimal/binary input not permitted

132

Device type not known on this installation

133

Expression required

134

File already in use

135

Sign not at start of field in busi ness editing descriptor

136

Business editing not allowed for input

137

Illegal operation after a BACKSPACE

138

Attempt to write to read-only file or inconsistent file access

139

You may not write to a file that is 'READONLY'

140

You cannot OPEN a directory

141

ANSI - invalid $ in format descriptor

142

$ editing not allowed for input

143

Incorrectly positioned $ character in format descriptor

144

Illegal name in OPEN/CLOSE/INQUIRE state ment

145

ANSI - the Aw edit descriptor must be used with an item of type CHARACTER

146

File path not found

147

Macro label not found

148

Reference to undefined variable or array element (/UNDEF)

149

Value returned by RECL= or NEXTREC= will cause overflow (use INTEGER*4 instead of IN TEGER*2)

150

Count for ENCODE/DECODE must be in the range 1 to 32767

151

Invalid FORM specifier

152

Invalid STATUS specifier

153

Invalid BLANK specifier

154

Unpaired brackets

155

Error detected by user-specified device driver

156

Unexpected error in Fortran I/O system

157

Do-loop will never be executed (/DOCHECK)

158

Unformatted record is too short for input list

159

Trailing sign or "CR" not at end of field in business editing descriptor

160

Multiple leading sign before "$" in business editing descriptor

161

"*" must precede "$" or "Z" in business editing descriptor

162

"$" in wrong position in business editing descriptor

163

"Z" after decimal point in business editing descriptor

164

Decimal point appears more than once in business editing descrip tor

165

Comma at start of field or after decimal point in business editing descriptor

166

Invalid character found in business editing descriptor

167

DO-loop will never be executed (/DOCHECK)

168

Unanticipated DOS error encountered in I/O system

169

Underflow detected by in put/output routine (data out-of-range)

170

Equals missing

171

Absolute value of complex argument out of range

172

The left hand side of a LET must be a variable or array element

173

You may not delete a file which is 'READONLY'

174

Array has wrong number of dimensions

175

Array subscript(s) out-of-bounds

176

Unpaired quotes

177

Name longer than 32 characters

178

Variable is not an array

179

Variable is an array

180

Unknown variable

181

Block IF un-terminated on leaving a macro

182

Error in the structure of WHILE-ENDWHILE block in a macro

183

Error in the structure of block IF in a macro

184

Display full

185

Routine not found

186

Unknown vector

187

Parameters may not be altered

188

Too many points to be plotted

189

ANSI - invalid FORM specifier

190

Attempt to read from a file opened with FORM='PRINTER'

191

Key name expected

 

 

Copyright © 1999-2017 Silverfrost Limited