ACCESS = accacc Is a character scalar memory reference that is assigned one of the following values:
'SEQUENTIAL' If the file is open for sequential access 'DIRECT' If the file is open for direct access 'UNKNOWN' If the file is not open
BLANK = blnkblnk Is a character scalar memory reference that is assigned one of the following values:
'NULL' If null blank control is in effect for the file open for formatted I/O. (Blanks are ignored unless the field is all blanks, in which case it is treated as zero.)
'ZERO' If zero blank control is in effect. (All blanks other than leading blanks are treated as zeros.)
'UNKNOWN' If the file is not open or if the existing file is not open for formatted I/O.
CARRIAGECONTROL = cccc Is a character scalar memory reference that is assigned one of the following values:
'FORTRAN' If the file is open with the FORTRAN carriage control 'LIST' If the file is open with implied carriage control (single spacing between records) 'NONE' If the file is open with no carriage control attribute 'UNKNOWN' If the file is not open
CONVERT = fmfm Is a character scalar memory reference that is assigned one of the following values:
'LITTLE_ENDIAN': If the file is open with little endian integer and IEEE floating-point data conversion in effect.
'BIG_ENDIAN': If the file is open with big endian integer and IEEE floating-point data conversion in effect.
'CRAY': If the file is open with big endian integer and CRAY floating-point data conversion in effect.
'IBM': If the file is open with big endian integer and IBM System\370 floating- point data conversion in effect.
'VAXD': If the file is open with little endian integer and Digital VAX F_floating and D_floating data conversion in effect.
'VAXG': If the file is open with little endian integer and Digital VAX F_floating and G_floating data conversion in effect.
'NATIVE': If the file is open with no data conversion in effect.
'UNKNOWN': If the file or unit is not connected for unformatted I/O.
DIRECT = dirdir Is a character scalar memory reference that is assigned one of the following values:
'YES' If the file is open for direct access 'NO' If the file is not open for direct access 'UNKNOWN' If the file is not open
ERR = ss Is the label of an executable statement.
ERR is a control specifier rather than a property specifier. If an error occurs during the execution of the INQUIRE statement, control is transferred to the statement whose label is "s".
EXIST = lvlv Is a logical scalar memory reference that is assigned one of the following values:
.TRUE. If the specified file exists and can be opened or if the unit exists .FALSE. If the specified file or unit does not exist or if the file exists but cannot be opened
The unit exists if it is a number in the range allowed by the processor.
FORM = fmfm Is a character scalar memory reference that is assigned one of the following values:
'FORMATTED' If the file is open for formatted I/O 'UNFORMATTED' If the file is open for unformatted I/O 'UNKNOWN' If the file is not open
FORMATTED = fmdfmd Is a character character scalar memory reference that is assigned one of the following values:
'YES' If formatted I/O is allowed 'NO' If formatted I/O is not allowed 'UNKNOWN' If the processor cannot determine whether formatted I/O is allowed
IOSTAT = iosios Is an integer scalar memory reference.
IOSTAT is a control specifier rather than a property specifier. The "ios" is assigned a processor-dependent positive integer value if an error occurs during execution of the INQUIRE statement; it is assigned the value zero if there is no error condition.
This specifier is only available on VMS systems.
NAME = nmenme Is a character scalar memory reference that is assigned the name of the file being inquired about. If the file does not have a name, "nme" is undefined.
NOTE: The FILE and NAME keywords are synonyms when used with the OPEN statement, but not when used with the INQUIRE statement.
NAMED = nmdnmd Is a logical scalar memory reference that is assigned one of the following values:
.TRUE. If the specified file has a name .FALSE. If the file does not have a name
NEXTREC = nrnr Is an integer scalar memory reference whose value depends on the following conditions:
- If a record was previously read or written on the specified unit, the value of "nr" is one more than the number of that record.
- If no records have been read or written, the value of "nr" is 1.
- If the file is not opened for direct access or if the position is indeterminate because of an error condition, "nr" is 0.
NUMBER = numnum Is an integer scalar memory reference to which the logical unit number of the file is returned. No value is returned if the file is not connected to a unit.
OPENED = odod Is a logical scalar memory reference that is assigned one of the following values:
.TRUE. If the specified file or unit is open .FALSE. If the specified file or unit is not open
ORGANIZATION = orgorg Is a character scalar memory reference that is assigned one of the following values:
'SEQUENTIAL' If the file is a sequential file 'RELATIVE' If the file is a relative file 'INDEXED' (VMS only) If the file is an indexed file 'UNKNOWN' If the file organization cannot be determined
RECL = rclrcl Is an integer scalar memory reference to which the maximum allowed record length is returned if the file or unit is open. If the file or unit is not open or does not exist, rcl is zero.
The length is expressed in bytes for formatted files and longwords for unformatted files.
RECORDTYPE = rtypertype Is a character scalar memory reference that is assigned one of the following values:
'FIXED' If the file is open for fixed-length records 'VARIABLE' If the file is open for variable-length records 'SEGMENTED' If the file is open for unformatted sequential I/O using segmented records 'STREAM' If the file's records are not terminated 'STREAM_CR' If the file's records are terminated with a carriage-return 'STREAM_LF' If the file's records are terminated with a line-feed 'UNKNOWN' If the file is not open
SEQUENTIAL = seqseq Is a character scalar memory reference that is assigned one of the following values:
'YES' If sequential access is allowed for the specified file 'NO' If sequential access is not allowed 'UNKNOWN' If the access mode cannot be determined
UNFORMATTED = unfunf Is a character scalar memory reference that is assigned one of the following values:
'YES' If unformatted I/O is allowed for the specified file 'NO' If unformatted I/O is not allowed 'UNKNOWN' If the form cannot be determined