f90_iostat: Fortran IOSTAT Module

Table of Contents

1 Name

f90_iostat — Intrinsic module providing IOSTAT error codes

2 Usage

       USE F90_IOSTAT
or
       USE,INTRINSIC :: F90_IOSTAT

3 Synopsis

Parameters

IOERR_ARRAY_OF_ARRAY, IOERR_ASYNC_NOT_PERMITTED, IOERR_ASYNCHRONOUS_DEFINED_INPUT_OUTPUT, IOERR_BACKSPACE_FAILED, IOERR_BACKSPACE_OF_UNF_STREAM, IOERR_BAD_ACCESS, IOERR_BAD_ACTION, IOERR_BAD_ADVANCE, IOERR_BAD_ASYNCHRONOUS, IOERR_BAD_BINARY, IOERR_BAD_BLANKS, IOERR_BAD_BNBZ, IOERR_BAD_CHAR, IOERR_BAD_COMPLEX, IOERR_BAD_DECIMAL, IOERR_BAD_DELIM, IOERR_BAD_EDIT, IOERR_BAD_EDIT_FOR_CHARACTER, IOERR_BAD_EDIT_FOR_INTEGER, IOERR_BAD_EDIT_FOR_LOGICAL, IOERR_BAD_EDIT_FOR_REAL, IOERR_BAD_ENCODING, IOERR_BAD_EXPONENT, IOERR_BAD_FORM, IOERR_BAD_HEX, IOERR_BAD_INPUT_EXPONENT, IOERR_BAD_INPUT_INTEGER, IOERR_BAD_INPUT_LOGICAL, IOERR_BAD_INPUT_REAL, IOERR_BAD_INTEGER, IOERR_BAD_INTEGER_LITERAL, IOERR_BAD_LOGICAL, IOERR_BAD_OCTAL, IOERR_BAD_PAD, IOERR_BAD_POS, IOERR_BAD_POSITION, IOERR_BAD_REAL, IOERR_BAD_REC, IOERR_BAD_ROUND, IOERR_BAD_SCALE, IOERR_BAD_SIGN, IOERR_BAD_STATUS, IOERR_BAD_UNIT, IOERR_BUFFER_OVERFLOW, IOERR_CANNOT_BACKSPACE, IOERR_CANNOT_KEEP, IOERR_CANNOT_OPEN, IOERR_CANNOT_REWIND, IOERR_CHAR_EDIT_IN_READ, IOERR_CHAR_OVERLAPS_END, IOERR_COMPONENT_NAME_TOO_LONG, IOERR_CORRUPT_UNFORMATTED_FILE, IOERR_DELIM_on_unformatted_OPEN, IOERR_DIFFERENT_ACCESS, IOERR_DIFFERENT_ACTION, IOERR_DIFFERENT_ASYNCHRONOUS, IOERR_DIFFERENT_FORM, IOERR_DIFFERENT_POSITION, IOERR_DIFFERENT_RECL, IOERR_DIFFERENT_STATUS, IOERR_DIRECT_POSITION_INCOMPAT, IOERR_ENDFILE_TWICE, IOERR_END_OF_DIRECT_ACCESS, IOERR_EOF, IOERR_EOR, IOERR_EXPECTED_COLON, IOERR_EXPECTED_COMMA, IOERR_EXPECTED_EQUALS, IOERR_EXPECTED_INTEGER_VALUE, IOERR_EXPECTED_P, IOERR_EXPECTED_PERIOD, IOERR_EXPECTED_RPAREN, IOERR_FORMAT_MBNZ, IOERR_FORMAT_NO_ENDING_RPAREN, IOERR_FORMAT_NO_LPAREN, IOERR_GROUP_NAME_TOO_LONG, IOERR_INPUT_BUFFER_OVERFLOW, IOERR_INPUT_LIST_TOO_BIG, IOERR_INTEGER1_TOO_BIG, IOERR_INTEGER2_TOO_BIG, IOERR_INTEGER64_TOO_BIG, IOERR_INTEGER_OVERFLOW_REPEAT, IOERR_INTEGER_TOO_BIG, IOERR_INTERNAL_FILE_OVERFLOW, IOERR_INVALID_CHAR_IN_DT_V_LIST, IOERR_INVALID_VALUE_FOR_ID_SPECIFIER, IOERR_MISSING_COMPONENT_NAME_AFTER_PERCENT, IOERR_MISSING_HOLLERITH_LENGTH, IOERR_NAMELIST_BAD_CHAR, IOERR_NAME_TOO_LONG, IOERR_NEW_FILE_EXISTS, IOERR_NOT_CONNECTED, IOERR_NOT_CONNECTED_NO_FILENAME, IOERR_NOT_DIRECT, IOERR_NOT_FORMATTED, IOERR_NOT_READ, IOERR_NOT_SEQUENTIAL, IOERR_NOT_UNFORMATTED, IOERR_NOT_WRITE, IOERR_NO_AMPERSAND, IOERR_NO_DATA_EDIT_IN_REVERSION, IOERR_NO_EDIT_FOR_REPEAT, IOERR_NO_FILE_WITH_REPLACE, IOERR_NO_INPUT_LOGICAL, IOERR_NO_NAMELIST_GROUP_NAME, IOERR_NO_OLD_FILE, IOERR_NO_RECL, IOERR_NO_SPACING_FOR_X, IOERR_OBJECT_NAME_TOO_LONG, IOERR_OK, IOERR_ONLY_SIGN_FOUND, IOERR_OPERATING_SYSTEM_ERROR, IOERR_PAD_on_unformatted_OPEN, IOERR_PENDING_BUT_NOT_ASYNC, IOERR_POS_BUT_NOT_STREAM, IOERR_POS_IN_CHILD_DATA_TRANSFER, IOERR_READ_AFTER_WRITE, IOERR_REAL_INPUT_OVERFLOW, IOERR_REC_IN_CHILD_DATA_TRANSFER, IOERR_RECL_LE_ZERO, IOERR_RECL_WITH_STREAM_ACCESS, IOERR_RECORD_TOO_SHORT, IOERR_REPEAT_FOR_BLANK_INTERP, IOERR_REPEAT_FOR_CHAR_EDIT, IOERR_REPEAT_FOR_POSITION, IOERR_REPEAT_FOR_ROUNDING, IOERR_REPEAT_FOR_SIGN, IOERR_RW_AFTER_ENDFILE, IOERR_SCALE_FOLLOWED_BY_REPEAT, IOERR_SCRATCH_NAMED, IOERR_SIZE_WITHOUT_NONADVANCING, IOERR_SUBFMT_TOO_DEEP, IOERR_SUBSCRIPT_OUT_OF_RANGE, IOERR_SUBSTRING_OUT_OF_BOUNDS, IOERR_TRUNCATE_FAILED, IOERR_UNEXPECTED_COMPONENT, IOERR_UNEXPECTED_FORMAT_END, IOERR_UNEXPECTED_SUBSCRIPT, IOERR_UNKNOWN_COMPONENT, IOERR_UNKNOWN_OBJECT_NAME, IOERR_UNTERMINATED_DT_STRING, IOERR_UNTERMINATED_DT_V_LIST, IOERR_WAIT_WITH_ID_BUT_FILE_IS_NOT_ASYNC, IOERR_WAIT_WITH_ID_BUT_NO_CONNECTION, IOERR_WRITE_FAILED_MYSTERIOUSLY, IOERR_WRONG_NAMELIST, IOERR_ZERO_LENGTH_INPUT, IOERR_ZERO_REPEAT, IOERR_ZERO_SIZE_INPUT, IOERR_ZERO_STRIDE.

4 Parameter Description

  Integer,Parameter :: IOERR_EOR                       = -2
End of record

  Integer,Parameter :: IOERR_EOF                       = -1
End of file

  Integer,Parameter :: IOERR_OK	                       = 0
Successful operation

  Integer,Parameter :: IOERR_BUFFER_OVERFLOW           = 100
Buffer overflow on output

  Integer,Parameter :: IOERR_INTERNAL_FILE_OVERFLOW    = 101
Internal file overflow

  Integer,Parameter :: IOERR_BAD_SCALE                 = 102
Scale factor out of range

  Integer,Parameter :: IOERR_BAD_EXPONENT              = 103
Exponent too large for w.d format

  Integer,Parameter :: IOERR_INPUT_BUFFER_OVERFLOW     = 104
Record too long for input buffer

  Integer,Parameter :: IOERR_ZERO_REPEAT               = 105
Zero repeat factor in list-directed input

  Integer,Parameter :: IOERR_BAD_INTEGER               = 106
Invalid input for integer editing

  Integer,Parameter :: IOERR_INTEGER1_TOO_BIG          = 107
Input value too large for INTEGER(KIND=1)

  Integer,Parameter :: IOERR_INTEGER2_TOO_BIG          = 108
Input value too large for INTEGER(KIND=2)

  Integer,Parameter :: IOERR_INTEGER_OVERFLOW_REPEAT   = 109
Repeat factor in list-directed input larger than HUGE(0)

  Integer,Parameter :: IOERR_INTEGER_TOO_BIG           = 110
Input value too large for default INTEGER type

  Integer,Parameter :: IOERR_BAD_REAL                  = 111
Invalid input for real editing

  Integer,Parameter :: IOERR_BAD_LOGICAL               = 112
Invalid input for logical editing

  Integer,Parameter :: IOERR_BAD_COMPLEX               = 113
Invalid input for complex editing

  Integer,Parameter :: IOERR_BAD_CHAR                  = 114
Invalid input for character editing

  Integer,Parameter :: IOERR_FORMAT_NO_LPAREN          = 115
Format specification does not begin with a left parenthesis

  Integer,Parameter :: IOERR_FORMAT_NO_ENDING_RPAREN   = 116
Format specification does not end with a right parenthesis

  Integer,Parameter :: IOERR_NO_DATA_EDIT_IN_REVERSION = 117
No data edit descriptor in tail of format specification after reversion

  Integer,Parameter :: IOERR_SUBFMT_TOO_DEEP           = 118
Sub-format groups nested too deeply

  Integer,Parameter :: IOERR_UNEXPECTED_FORMAT_END     = 119
Unexpected end of format specification

  Integer,Parameter :: IOERR_EXPECTED_INTEGER_VALUE    = 120
Expected integer literal constant in format specification

  Integer,Parameter :: IOERR_FORMAT_MBNZ               = 121
Field/exponent width or repeat in format specification must be non-zero

  Integer,Parameter :: IOERR_EXPECTED_PERIOD           = 122
Expected decimal point in format specification

  Integer,Parameter :: IOERR_EXPECTED_P                = 123
Expected P following signed integer constant in format specification

  Integer,Parameter :: IOERR_BAD_BNBZ                  = 124
Expected N or Z following B in format specification

  Integer,Parameter :: IOERR_BAD_EDIT                  = 125
Invalid edit descriptor

  Integer,Parameter :: IOERR_NO_EDIT_FOR_REPEAT        = 126
No edit descriptor following repeat factor

  Integer,Parameter :: IOERR_REPEAT_FOR_SIGN           = 127
Repeat factor given for sign edit descriptor

  Integer,Parameter :: IOERR_REPEAT_FOR_BLANK_INTERP   = 128
Repeat factor given for blank-interpretation edit descriptor

  Integer,Parameter :: IOERR_MISSING_HOLLERITH_LENGTH  = 129
Missing length of H edit descriptor

  Integer,Parameter :: IOERR_REPEAT_FOR_CHAR_EDIT      = 130
Repeat factor given for character string edit descriptor

  Integer,Parameter :: IOERR_NO_SPACING_FOR_X          = 131
No spacing specified for X edit descriptor

  Integer,Parameter :: IOERR_REPEAT_FOR_POSITION       = 132
Repeat factor given for position edit descriptor

  Integer,Parameter :: IOERR_CHAR_EDIT_IN_READ         = 133
Character string edit descriptor used on input

  Integer,Parameter :: IOERR_BAD_EDIT_FOR_REAL         = 134
Invalid edit descriptor for real i/o-list item

  Integer,Parameter :: IOERR_BAD_EDIT_FOR_INTEGER      = 135
Invalid edit descriptor for integer i/o-list item

  Integer,Parameter :: IOERR_BAD_EDIT_FOR_LOGICAL      = 136
Invalid edit descriptor for logical i/o-list item

  Integer,Parameter :: IOERR_CHAR_OVERLAPS_END         = 137
Character string edit descriptor does not terminate before format end

  Integer,Parameter :: IOERR_ONLY_SIGN_FOUND           = 138
Sign in a numeric input field not followed by any digits

  Integer,Parameter :: IOERR_BAD_INPUT_EXPONENT        = 139
Invalid exponent in real input field

  Integer,Parameter :: IOERR_BAD_INPUT_REAL            = 140
Invalid character in real input field

  Integer,Parameter :: IOERR_BAD_INPUT_INTEGER         = 141
Invalid character in integer input field

  Integer,Parameter :: IOERR_BAD_BINARY                = 142
Invalid character in binary integer input field

  Integer,Parameter :: IOERR_BAD_OCTAL                 = 143
Invalid character in octal integer input field

  Integer,Parameter :: IOERR_BAD_HEX                   = 144
Invalid character in hexadecimal integer input field

  Integer,Parameter :: IOERR_BAD_EDIT_FOR_CHARACTER    = 145
Invalid edit descriptor for character i/o-list item

  Integer,Parameter :: IOERR_READ_AFTER_WRITE          = 146
READ after WRITE with no intervening file positioning

  Integer,Parameter :: IOERR_BAD_UNIT                  = 147
Unit number out of range

  Integer,Parameter :: IOERR_NOT_CONNECTED             = 148
Unit is not connected

  Integer,Parameter :: IOERR_CANNOT_BACKSPACE          = 149
File connected to unit is not capable of BACKSPACE

  Integer,Parameter :: IOERR_NOT_SEQUENTIAL            = 150
Unit is not connected for SEQUENTIAL i/o

  Integer,Parameter :: IOERR_NOT_READ                  = 151
Unit is not connected for READ action

  Integer,Parameter :: IOERR_NOT_FORMATTED             = 152
Unit is not connected for FORMATTED i/o

  Integer,Parameter :: IOERR_NOT_WRITE                 = 153
Unit is not connected for WRITE action

  Integer,Parameter :: IOERR_NOT_UNFORMATTED           = 154
Unit is not connected for UNFORMATTED i/o

  Integer,Parameter :: IOERR_NOT_CONNECTED_NO_FILENAME = 155
Unit is not connected and no FILE= specifier on OPEN

  Integer,Parameter :: IOERR_SCRATCH_NAMED             = 156
FILE= specifier on OPEN with STATUS='SCRATCH'

  Integer,Parameter :: IOERR_DIFFERENT_STATUS          = 157
OPEN on connected unit has different STATUS= specifier

  Integer,Parameter :: IOERR_DIFFERENT_ACCESS          = 158
OPEN on connected unit has different ACCESS= specifier

  Integer,Parameter :: IOERR_DIFFERENT_FORM            = 159
OPEN on connected unit has different FORM= specifier

  Integer,Parameter :: IOERR_DIFFERENT_RECL            = 160
OPEN on connected unit has different RECL= specifier

  Integer,Parameter :: IOERR_DIFFERENT_ACTION          = 161
OPEN on connected unit has different ACTION= specifier

  Integer,Parameter :: IOERR_DIFFERENT_POSITION        = 162
OPEN on connected unit has different POSITION= specifier

  Integer,Parameter :: IOERR_BAD_STATUS                = 163
Invalid value for STATUS= specifier

  Integer,Parameter :: IOERR_BAD_ACCESS                = 164
Invalid value for ACCESS= specifier

  Integer,Parameter :: IOERR_BAD_FORM                  = 165
Invalid value for FORM= specifier

  Integer,Parameter :: IOERR_BAD_BLANKS                = 166
Invalid value for BLANKS= specifier

  Integer,Parameter :: IOERR_BAD_POSITION              = 167
Invalid value for POSITION= specifier

  Integer,Parameter :: IOERR_BAD_ACTION                = 168
Invalid value for ACTION= specifier

  Integer,Parameter :: IOERR_BAD_DELIM                 = 169
Invalid value for DELIM= specifier

  Integer,Parameter :: IOERR_BAD_PAD                   = 170
Invalid value for PAD= specifier

  Integer,Parameter :: IOERR_NO_RECL                   = 171
The RECL= specifier must be given for DIRECT access OPEN

  Integer,Parameter :: IOERR_CANNOT_KEEP               = 172
STATUS='KEEP' is invalid for a SCRATCH file

  Integer,Parameter :: IOERR_ENDFILE_TWICE             = 173
ENDFILE applied twice to unit with no intervening file positioning

  Integer,Parameter :: IOERR_NAME_TOO_LONG             = 174
File name too long

  Integer,Parameter :: IOERR_NO_OLD_FILE               = 175
Cannot find OLD file

  Integer,Parameter :: IOERR_NEW_FILE_EXISTS           = 176
New file already exists

  Integer,Parameter :: IOERR_CANNOT_REWIND             = 177
File connected to unit is not capable of REWIND

  Integer,Parameter :: IOERR_BACKSPACE_FAILED          = 178
BACKSPACE failed to find the beginning of the previous record

  Integer,Parameter :: IOERR_NOT_DIRECT                = 179
Unit is not connected for DIRECT i/o

  Integer,Parameter :: IOERR_BAD_REC                   = 180
Record number out of range

  Integer,Parameter :: IOERR_BAD_INPUT_LOGICAL         = 181
Illegal character in LOGICAL input field

  Integer,Parameter :: IOERR_NO_INPUT_LOGICAL          = 182
No value found in LOGICAL input field

  Integer,Parameter :: IOERR_CANNOT_OPEN               = 183
Unknown OPEN failure on unit

  Integer,Parameter :: IOERR_NO_AMPERSAND              = 184
Expected '&' but found C in NAMELIST input

(C is replaced by the erroneous character).

  Integer,Parameter :: IOERR_GROUP_NAME_TOO_LONG       = 185
NAMELIST group name in input is too long

  Integer,Parameter :: IOERR_WRONG_NAMELIST            = 186
Expected NAMELIST group /N1/ but found /N2/

(N1 and N2 are replaced by the relevant NAMELIST group names).

  Integer,Parameter :: IOERR_NAMELIST_BAD_CHAR         = 187
Invalid character C in NAMELIST input

(C is replaced by the erroneous character).

  Integer,Parameter :: IOERR_OBJECT_NAME_TOO_LONG      = 188
NAMELIST group name in input of NAMELIST/N/ is too long

(N is replaced by the erroneous namelist group name).

  Integer,Parameter :: IOERR_EXPECTED_EQUALS           = 189
Expected '=' but found C in NAMELIST input

(C is replaced by the erroneous character).

  Integer,Parameter :: IOERR_UNKNOWN_OBJECT_NAME       = 190
Unknown group object V in input for NAMELIST/N/

(V is replaced by the erroneous group object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_UNEXPECTED_SUBSCRIPT      = 191
Unexpected subscript for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_UNEXPECTED_COMPONENT      = 192
Unexpected component specifier for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_COMPONENT_NAME_TOO_LONG   = 193
Component name too long in input for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_UNKNOWN_COMPONENT         = 194
Unknown component C in input for object V of NAMELIST/N/

(C is replaced by the erroneous component name, V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_ARRAY_OF_ARRAY            = 195
Array component of array parent in input for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_BAD_INTEGER_LITERAL       = 196
Invalid integer literal in input for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_EXPECTED_COLON            = 197
Expected ':' but found 'C' in input for object V of NAMELIST/N/

(C is replaced by the erroneous character, V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_ZERO_LENGTH_INPUT         = 198
Substring has zero length in input for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_SUBSTRING_OUT_OF_BOUNDS   = 199
Substring (I:I) out of bounds in input for object V of NAMELIST/N/

(I and J are replaced by the substring bounds, V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_EXPECTED_COMMA            = 200
Expected ',' but found 'C' in input for object V of NAMELIST/N/

(C is replaced by the erroneous character, V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_EXPECTED_RPAREN           = 201
Expected ')' but found 'C' in input for object V of NAMELIST/N/

(C is replaced by the erroneous character, V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_SUBSCRIPT_OUT_OF_RANGE    = 202
Subscript (I) out of range in input for object V of NAMELIST/N/

(I is replaced by the erroneous subscript value, V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_ZERO_SIZE_INPUT           = 203
Array section has zero size in input for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_ZERO_STRIDE               = 204
Section stride has value zero in input for object V of NAMELIST/N/

(V is replaced by the object name, N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_NO_NAMELIST_GROUP_NAME    = 205
Missing namelist group name in input of NAMELIST/N/

(N is replaced by the namelist group name).

  Integer,Parameter :: IOERR_INPUT_LIST_TOO_BIG        = 206
Input list bigger than record length in unformatted READ on unit N

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_RECORD_TOO_SHORT          = 207
Record too short for format requirement and PAD='NO' on unit N

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_CORRUPT_UNFORMATTED_FILE  = 208
Unformatted data file open on unit N is corrupt

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_TRUNCATE_FAILED           = 209
File truncation on unit N failed

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_RW_AFTER_ENDFILE          = 210
READ/WRITE attempted after ENDFILE on unit N

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_INTEGER64_TOO_BIG         = 211
Input value too large for 64-bit integer

  Integer,Parameter :: IOERR_NO_FILE_WITH_REPLACE      = 212
No FILE= specifier with STATUS='REPLACE

  Integer,Parameter :: IOERR_RECL_LE_ZERO              = 213
Invalid value for RECL= specifier (must be positive)

  Integer,Parameter :: IOERR_END_OF_DIRECT_ACCESS      = 214
READ beyond end of direct access file on unit N

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_REAL_INPUT_OVERFLOW       = 215
Floating overflow on real number input

  Integer,Parameter :: IOERR_DIRECT_POSITION_INCOMPAT  = 216
Direct access is incompatible with the POSITION= specifier.

  Integer,Parameter :: IOERR_SCALE_FOLLOWED_BY_REPEAT  = 217
Scale factors cannot be followed by repeat count in format specification.

  Integer,Parameter :: IOERR_RECL_WITH_STREAM_ACCESS   = 218
RECL= specifier with ACCESS='STREAM'.

  Integer,Parameter :: IOERR_BACKSPACE_OF_UNF_STREAM   = 219
Cannot BACKSPACE unformatted ACCESS='STREAM' unit N

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_BAD_ADVANCE               = 220
ADVANCE= specifier must be 'YES' or 'NO'.

  Integer,Parameter :: IOERR_SIZE_WITHOUT_NONADVANCING = 221
SIZE= is not valid without ADVANCE='NO'.

  Integer,Parameter :: IOERR_BAD_DECIMAL               = 222
DECIMAL= specifier must be 'POINT' or 'COMMA'.

  Integer,Parameter :: IOERR_BAD_ROUND                 = 223
Invalid value for ROUND= specifier.

  Integer,Parameter :: IOERR_BAD_SIGN                  = 224
SIGN= specifier must be 'PROCESSOR_DEFINED', 'PLUS' or 'SUPPRESS'.

  Integer,Parameter :: IOERR_BAD_ASYNCHRONOUS          = 225
ASYNCHRONOUS= specifier must be 'NO' or 'YES'.

  Integer,Parameter :: IOERR_BAD_ENCODING              = 226
Invalid value for ENCODING= specifier.

  Integer,Parameter :: IOERR_PENDING_BUT_NOT_ASYNC     = 227
PENDING= specifier but unit N is not open for ASYNCHRONOUS i/o

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_POS_BUT_NOT_STREAM        = 228
POS= specifier but unit N is not open for STREAM i/o

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_BAD_POS                   = 229
Invalid value for POS= specifier.

  Integer,Parameter :: IOERR_DIFFERENT_ASYNCHRONOUS    = 230
OPEN on connected unit N has different ASYNCHRONOUS= specifier

(N is replaced by the unit number).

  Integer,Parameter :: IOERR_DELIM_on_unformatted_OPEN = 231
DELIM= specifier in OPEN for an UNFORMATTED file.

  Integer,Parameter :: IOERR_PAD_on_unformatted_OPEN   = 232
PAD= specifier in OPEN for an UNFORMATTED file.

  Integer,Parameter :: IOERR_WAIT_WITH_ID_BUT_FILE_IS_NOT_ASYNC = 233
WAIT with ID= but unit is open with ASYNCHRONOUS='NO'

  Integer,Parameter :: IOERR_WAIT_WITH_ID_BUT_NO_CONNECTION = 234
WAIT with ID= but unit is not connected to a file.

  Integer,Parameter :: IOERR_INVALID_VALUE_FOR_ID_SPECIFIER = 235
Invalid value N for ID= specifier

(N is replaced by the bad value).

  Integer,Parameter :: IOERR_BAD_CONVERT_SPECIFIER = 236
Invalid value for CONVERT= specifier.

  Integer,Parameter :: IOERR_CONVERT_on_formatted_OPEN = 237
CONVERT= specifier in OPEN for a FORMATTED file.

  Integer,Parameter :: IOERR_CONVERT_SPECIFIER_MODE_NOT_SUPPORTED = 238
Specified CONVERT= mode is not supported.

  Integer,Parameter :: IOERR_ENCODING_ERROR = 239
Contents of formatted file are not valid for the current ENCODING.

  Integer,Parameter :: IOERR_NO_NEWUNIT_AVAILABLE = 240
No unit available for NEWUNIT= specifier.

  Integer,Parameter :: IOERR_NEWUNIT_BUT_NO_FILE_AND_NOT_STATUS_SCRATCH = 241
NEWUNIT= specifier but no FILE= and STATUS= value is not 'SCRATCH'.

    Integer,Parameter :: IOERR_INQUIRE_INTERNAL_UNIT    = 242
INQUIRE on a unit number that identifies an internal file.

    Integer,Parameter :: IOERR_NESTED_FORMAT_ITEM_LIST_IS_EMPTY = 243
Nested format-item-list is empty.

    Integer,Parameter :: IOERR_NO_LPAREN_AFTER_UNLIMITED_STAR = 244
No left parenthesis after unlimited repeat factor '*'.

    Integer,Parameter :: IOERR_NO_DATA_EDIT_IN_UNLIMITED_FORMAT_ITEM = 245
No data edit descriptor in unlimited format item.

    Integer,Parameter :: IOERR_UNLIMITED_FORMAT_ITEM_IS_NOT_THE_LAST = 246
Unlimited format item is not the last item.

    Integer,Parameter :: IOERR_UNLIMITED_FORMAT_ITEM_APPEARS_IN_NESTED = 247
Unlimited format item appears in nested format item.

    Integer,Parameter :: IOERR_BAD_EDIT_1C_FOR_2C_ITEM = 248
Invalid edit descriptor fmt-field for type input/output item.

    Integer,Parameter :: IOERR_UNEXPECTED_EXPONENT_FOR_G0 = 249
Unexpected exponent for G0 edit descriptor.

    Integer,Parameter :: IOERR_REPEAT_FOR_ROUNDING = 250
Repeat factor given for rounding edit descriptor.
    Integer,Parameter :: IOERR_OPERATING_SYSTEM_ERROR = 251
Operating System reported error.

    Integer,Parameter :: IOERR_WRITE_FAILED_MYSTERIOUSLY = 252
WRITE operation failed mysteriously.

    Integer,Parameter :: IOERR_MISSING_COMPONENT_NAME_AFTER_PERCENT = 253
Missing component name after %.

    Integer,Parameter :: IOERR_ASYNC_NOT_PERMITTED = 254
ASYNCHRONOUS='YES' is not permitted for this unit.

    Integer,Parameter :: IOERR_ASYNCHRONOUS_DEFINED_INPUT_OUTPUT = 256
ASYNCHRONOUS='YES' cannot be used for defined input/output.

    Integer,Parameter :: IOERR_POS_IN_CHILD_DATA_TRANSFER = 257
POS= specifier in child data transfer statement.

    Integer,Parameter :: IOERR_REC_IN_CHILD_DATA_TRANSFER = 258
REC= specifier in child data transfer statement.

    Integer,Parameter :: IOERR_UNTERMINATED_DT_STRING = 259
Unterminated DT edit descriptor string.

    Integer,Parameter :: IOERR_INVALID_CHAR_IN_DT_V_LIST = 260
Invalid non-digit character in DT v_list (not a digit, comma, or right parenthesis).

    Integer,Parameter :: IOERR_UNTERMINATED_DT_V_LIST = 261
Unterminated DT v_list (missing right parenthesis).

    Integer,Parameter :: IOERR_BACKSPACE_OF_DEFINED_IO_UNIT = 262
BACKSPACE of defined input/output unit.

    Integer,Parameter :: IOERR_CLOSE_OF_DEFINED_IO_UNIT = 263
CLOSE of defined input/output unit.

    Integer,Parameter :: IOERR_ENDFILE_OF_DEFINED_IO_UNIT = 264
ENDFILE of defined input/output unit.

    Integer,Parameter :: IOERR_OPEN_OF_DEFINED_IO_UNIT = 265
OPEN of defined input/output unit.

    Integer,Parameter :: IOERR_REWIND_OF_DEFINED_IO_UNIT = 266
REWIND of defined input/output unit.

5 Notes

The source code for this module may be found in the NAG Fortran runtime library directory (usually /usr/local/lib/NAG_Fortran).

6 See Also

nagfor(1), nag_modules(3).

7 Bugs

Please report any bugs found to ‘support@nag.co.uk’ or ‘support@nag.com’, along with any suggestions for improvements.