HPlogo Accessing Files Programmer's Guide: HP 3000 MPE/iX Computer Systems

Preface

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

MPE/iX, Multiprogramming Executive with Integrated POSIX, is the latest in a series of forward-compatible operating systems for the HP 3000 line of computers.

In HP documentation and in talking with HP 3000 users, you will encounter references to MPE XL, the direct predecessor of MPE/iX. MPE/iX is a superset of MPE XL. All programs written for MPE XL will run without change under MPE/iX. You can continue to use MPE XL system documentation, although it may not refer to features added to the operating system to support POSIX (for example, hierarchical directories).

Finally, you may encounter references to MPE V, which is the operating system for HP 3000s, not based on PA-RISC architecture. MPE V software can be run on the PA-RISC (Series 900) HP 3000s in what is known as compatibility mode.

Accessing Files Programmer's Guide (32650-90017) is written for an experienced programmer who has a working knowledge of MPE/iX and is familiar with:

  • a text editor

  • at least one programming language

  • compiling, linking, and executing a program on MPE/iX

This manual describes how you can use the MPE/iX File System to create files and manage the data stored in those files. In addition to discussing file system methods and operations involved with file and data manipulation, this manual describes system intrinsics and commands useful for file management and data transfer. Examples are provided throughout this manual that demonstrate how to use file system intrinsics and commands in various applications.

This manual is part of the MPE/iX Programmer's Series. This series consists of the MPE/iX Intrinsics Reference Manual (32650-90028) and a set of task-oriented programmer's guides.

This manual contains the following chapters and appendix:

Chapter 1

Introduction provides an overview of the MPE/iX File System.

Chapter 2

Creating a File discusses file creation considerations and describes how to create a file.

Chapter 3

Specifying a File Designator describes how you designate an MPE/iX file.

Chapter 4

Specifying a Domain describes how you can specify your file as being either a new file, a temporary file, or an old file. MPE/iX then places the file in the appropriate file directory.

Chapter 5

Opening a File illustrates through program examples how you can open a file.

Chapter 6

Closing a File illustrates, through program examples, how you close a file.

Chapter 7

Record Selection and Data Transfer introduces system intrinsics you can use to select records and transfer data between your program and a file.

Chapter 8

Writing to a File illustrates, through program examples, how you can transfer data from your program to a file.

Chapter 9

Reading from a File illustrates, through program examples, how you can transfer data to your program from a file.

Chapter 10

Updating a File illustrates, through program examples, how you can update records in a file.

Chapter 11

Accessing a File Using Mapped Access describes how you use the mapped access method to access a file.

Chapter 12

Sharing a File discusses methods you can use to share a file with other users.

Chapter 13

Maintaining File Security describes how you can maintain secure files and restrict file access.

Chapter 14

Getting File Information describes the intrinsics you can use to obtain information about file.

Appendix A

HP Pascal Program Example offers you HP Pascal program examples to help you better understand how to use file system intrinsics to perform file access tasks.

Feedback to webmaster