hit counter code

Sharing Files And Locking Records; Controlling Access To Files And Records; Multiple Access To A File - Compaq COBOL AAQ2G1FTK User Manual

Compaq computer accessories user manual
Table of Contents

Advertisement

This chapter includes the following information about sharing files and protecting
records for sequential, relative, and indexed files:
Controlling access to files and records (Section 8.1)
Choosing X/Open standard or Compaq standard file sharing and record
locking (Section 8.2)
Ensuring successful file sharing (Section 8.3)
Using record locking to control access to records (Section 8.4)

8.1 Controlling Access to Files and Records

In a data manipulation environment where many users and programs access the
same data, file control must be applied to protect files from nonprivileged users,
to permit the desired degree of file sharing, and to preserve data integrity in the
files. For example, in Figure 8–1 many users and programs want to access data
found in FILE-A.
Figure 8–1 Multiple Access to a File
User 1

Sharing Files and Locking Records

Location 1
PROG−A
Access
Stream 1
Location 2
User 2
PROG−A
Access
Stream 2
FILE−A
Sharing Files and Locking Records 8–1
8
Location 3
User 3
PROG−B
Access
Stream 3
ZK−6323−GE

Advertisement

Table of Contents
loading

Table of Contents