Microsoft KB Archive/40363

How Record and File Locks Are Released in COBOL Version 3.0

PSS ID Number: Q40363 Article last modified on 04-20-1993

3.00 3.00a | 3.00 3.00a MS-DOS | OS/2

Summary: In Microsoft COBOL Versions 3.0 and 3.0a, the following actions release LOCKs on records and files: 1. COMMIT Releases all records and file locks 2. UNLOCK file-name Releases all record locks on a specified file 3. READ Releases the last record when using single record locking 4. CLOSE Always releases the file and all record locks

More Information: More information on networking can be found in this KnowledgeBase; in Chapter 12 of the “Microsoft COBOL Version 3.0: Operating Guide”; and in Chapter 5 of the “Microsoft COBOL Version 3.0: Language Reference Manual.”

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.