Guardian Procedure Calls Reference Manual

File pointers after UNLOCKREC
For unstructured files, the current-record pointer and the next-record pointer remain unchanged.
Transaction Management Facility (TMF) and UNLOCKREC
A record that is locked in a file audited by TMF and has been modified by the current
transaction is unlocked when an ABORTTRANSACTION or ENDTRANSACTION procedure
is called for that file. Locks on modified records of audited files are released only when the
transaction is ended or aborted by TMF. An unmodified audited record is unlocked by
UNLOCKREC.
OSS Considerations
This procedure operates only on Guardian objects. If an OSS file is specified, error 2 is returned.
Example
CALL UNLOCKREC ( FILE^NUM );
Related Programming Manual
For programming information about the UNLOCKREC procedure, see the Enscribe Programmer's
Guide and the Guardian Programmer's Guide.
1438 Guardian Procedure Calls (T-V)