Intel® Fortran Compiler 18.0 Developer Guide and Reference
The ASSOCIATEVARIABLE specifier indicates a variable that is updated after each direct access I/O operation, to reflect the record number of the next sequential record in the file. It takes the following form:
ASSOCIATEVARIABLE = asv
asv |
Is a scalar integer variable. It cannot be a dummy argument to the routine in which the OPEN statement appears. |
Direct access READs, direct access WRITEs, and the FIND, DELETE, and REWRITE statements can affect the value of asv.
This specifier is valid only for direct access; it is ignored for other access modes.