skip to main content

Procedure Division Statements : UNLOCK

UNLOCK
General Format
Format 1
UNLOCK {File-Name-1} ALL {RECORD }
Format 2
UNLOCK ALL {RECORD }
Syntax rules
1.
2.
RECORD and RECORDS are synonymous.
General rules
Format 1
1.
 
NOTE - To unlock one particular record, use the READ statement with the NO LOCK phrase.
2.
3.
Format 2
4.
5.
Examples
Format 1 - Unlock all records of one file
unlock customers
Format 2 - Unlock all records of all files
unlock all

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left