Input/Output Sets . . . . . . . . . . . . . . . . . . . . . . . . .

6-14

Passed Files . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-15

Searching File Directories . . . . . . . . . . . . . . . . . . . . . .

6-16

Finding Files . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-16

Types of Operations Allow ed on Files . . . . . . . . . . . . . . . . .

6-16

Opening a File . . . . . . . . . . . . . . . . . . . . . . . . . .

6-16

Closing a File . . . . . . . . . . . . . . . . . . . . . . . . . .

6-17

Using Files at Run Time . . . . . . . . . . . . . . . . . . . . . . . .

6-20

Hierarchy of File Overrides . . . . . . . . . . . . . . . . . . . . . . .

6-21

Record Structure . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-22

Storage Format . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-22

Record Types . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-22

Specifying a Record Size . . . . . . . . . . . . . . . . . . . . . . .

6-24

File Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-25

File Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-25

File Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-26

Creating a File . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-27

HPFOPEN and FOPEN Intrinsics . . . . . . . . . . . . . . . . .

6-27

The :BUILD Command . . . . . . . . . . . . . . . . . . . . . .

6-28

Deleting Files . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-28

Renaming Files . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-28

Saving Temporary Files . . . . . . . . . . . . . . . . . . . . . . .

6-28

Listing File Characteristics . . . . . . . . . . . . . . . . . . . . . .

6-29

The :FILE Command . . . . . . . . . . . . . . . . . . . . . . . .

6-29

Record Selection and Data T ransfer . . . . . . . . . . . . . . . . . . .

6-30

Record Pointers . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-30

Pointer Initialization . . . . . . . . . . . . . . . . . . . . . . . .

6-30

Record Selection . . . . . . . . . . . . . . . . . . . . . . . . . .

6-30

Mapped Access to Disc Files . . . . . . . . . . . . . . . . . . . . .

6-31

Multiple Record Transfers . . . . . . . . . . . . . . . . . . . . . .

6-31

Data Transfer Control Operations . . . . . . . . . . . . . . . . . . .

6-32

Reading from a File . . . . . . . . . . . . . . . . . . . . . . . . .

6-32

Writing to a File . . . . . . . . . . . . . . . . . . . . . . . . . .

6-33

Updating a File . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-33

Using Mapped Access to a File . . . . . . . . . . . . . . . . . . . .

6-34

Device File Bu￿ers . . . . . . . . . . . . . . . . . . . . . . . . .

6-34

Sharing a File . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-35

Maintaining File Securit y . . . . . . . . . . . . . . . . . . . . . . .

6-37

Lockwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

6-38

MPE/iX File Access System . . . . . . . . . . . . . . . . . . . . .

6-38

Specifying and Restricting File Access b y Access Mode . . . . . . . .

6-38

Specifying File Access b y Type or User . . . . . . . . . . . . . . .

6-39

Access Control De￿nitions (A CDs) . . . . . . . . . . . . . . . . . .

6-42

Specifying and Restricting File Access . . . . . . . . . . . . . . . .

6-42

Managing ACDs with Commands and In trinsics . . . . . . . . . . .

6-42

Changing Disc File Securit y Provisions . . . . . . . . . . . . . . .

6-43

Suspending and Restoring Securit y Provisions . . . . . . . . . . . .

6-44

Contents-5