File position indicator
The file position indicator marks the next record to be
accessed for sequential COBOL requests. You do not set the file position
indicator in your program. It is set by successful OPEN
, START
, READ
,
and READ NEXT
statements.
Subsequent READ
or READ NEXT
requests
use the established file position indicator location and update it.
The file position indicator is not used or affected by the output
statements WRITE
, REWRITE
, or DELETE
.
The file position indicator has no meaning for random processing.