HPlogo Accessing Files Programmer's Guide: HP 3000 MPE/iX Computer Systems > Chapter 4 Specifying a File Domain

Permanent Files

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

A permanent file exists as a file in the system file domain. Its existence is not limited to the duration of its creating job or session, and depending on security restrictions, it may be accessed by jobs or sessions other than the one that created it. Some or all of the space for a permanent file has already been allocated, and its physical characteristics have been defined.

Table 4-1 Features of New, Temporary, and Permanent Files

New FilesTemporary FilesPermanent Files
Exists only to creating process.Exists as job temporary file.Exists as permanent file in system.
Space not allocated yet.Space (some or all) already allocated.Space (some or all) already allocated.
Physical characteristics not previously defined.Physical characteristics defined.Physical characteristics defined.
Known only to creating job or session.Known only to creating job or session.Known system-wide.
Exists only for duration of program execution.Exists only for duration of creating job/session.Permanent.

 

Table 4-2 File Domains Permitted

Device TypeDomain Permitted
Disknew, temporary, or permanent
Magnetic Tape Devicenew * or permanent
Synchronous Single-Line Controllernew * or permanent
Programmable Controllernew * or permanent
Terminalnew * or permanent
Line Printernew *
Plotternew *

 

The features of new, temporary and permanent files are listed in Table 4-1 “Features of New, Temporary, and Permanent Files”.

In some cases, the domain you can specify for a file may be restricted by the type of device on which the file resides. The domains permitted are summarized in Table 4-2 “File Domains Permitted”.

NOTE: * When you specify a file domain using HPFOPEN, you should open only disk files with the domain option set to NEW. Device files can be opened with the domain option set to NEW (to maintain compatibility with with MPE V/E), but a warning is returned in the status parameter.
Feedback to webmaster