## 10.6.2 ASSOCIATEVARIABLE Keyword

The ASSOCIATEVARIABLE keyword specifies the integer variable that is updated after each direct access I/O operation to reflect the record number of the next sequential record in the file. This specifier is valid only for direct access and is ignored for other access modes. It takes the following form:

    ASSOCIATEVARIABLE = asv

asv
  Is an integer variable. It cannot be a dummy argument to the routine in which the OPEN statement appears.

Note that direct access READ, direct access WRITE, FIND, DELETE, and REWRITE statements can affect the value of the variable.

Previous Page Next Page Table of Contents