Programmer's Guide to File Handling
Table of Contents
Index
Chapter 6: Sharing Files
6.1 Overview
6.2 File and Record Locking
6.2.1 Default locking
6.2.2 Locking Files
6.2.3 Locking Records
6.2.3.1 Single Record Locking
6.2.3.1.1 Manual Single Record Locking
6.2.3.1.2 Automatic Single Record Locking
6.2.3.2 Multiple Record Locking
6.2.3.2.1 Manual Multiple Record Locking
6.2.3.2.2 Automatic Multiple Record Locking
6.3 File Status Codes
6.4 Encountering a Locked Record
6.5 OPEN WITH LOCK
6.6 Examples of File and Record Locking
6.7 Locking Rules for Each File Organization
6.7.1 Record Sequential, Relative and Indexed Files
6.7.2 Line Sequential Files
6.7.3 All File Types
6.8 Programming Considerations
6.9 Sample Programs
6.9.1 Running the Sample Programs
6.9.1.1 Creating the file
6.9.1.2 Sharing the file