Please enable JavaScript to view this site.

A-Shell Reference

UNLOKR #ch

Parameters

ch is an integer identifying the file; established by the OPEN statement.

Comments

UNLOKR has no effect if LOKSER not enabled, or if the current record number is not locked. The record number to unlock is determined by the contents of the record-number variable specified in the OPEN statement. Records are locked by the READL statement, and if not unlocked by a subsequent WRITE, should be unlocked by UNLOKR. Closing the file also unlocks all locked records.

See Also