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:
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.