Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

for CVF - UNLOCK and READ

bkal1
Beginner
639 Views
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.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
639 Views
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
0 Kudos
Reply