for CVF - UNLOCK and READ

for CVF - UNLOCK and READ

In CVF there are the statement UNLOCK.
In "Compaq Visual Fortran
Language Reference
Date: August, 2000
Software
Version:
Visual Fortran Version 6.5"
on page 1308 i read this:
UNLOCK
Statement: Frees a record in a relative or sequential file that was locked by a
previous READ statement.

I carefully read the "READ" statement, but i can't find how can i LOCK any record.

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Steve Lionel (Intel)'s picture

The locking is automatic when you READ. However, I'm not sure if record locking is implemented in CVF. On VMS, it's a file system feature. I'll check into this.

Steve

Steve

Login to leave a comment.