MPE/iX Intrinsics Reference Manual (32650-90875)
Chapter 7 375
Command Definitions (HP32208-HPLOACNMPROC)
HPFOPEN
The following values are valid:
0 Standard (STD) file
1 KSAM/3000 file
2 Relative I/O (RIO) file
3 KSAM XL file
5 NM spoolfile
4 Circular (CIR) file
6 Message (MSG) file
7 KSAM 64 file
9 Directory
Default: 0
Hierarchical directories must be created in the permanent file domain.
KSAM/3000 (1), RIO (2) and CIR (4) file types may only be created using
names belonging to the MPE name space.
(ASC) Set the value to 0 for asynchronous devices.
11/I32 Access type:
Passes a value indicating the type of access intended for the file. This
option restricts/allows usage of the file system intrinsics.
The following values are valid:
0 Read access only, if the file's security provisions allow read
access. FWRITE, FUPDATE, and FWRITEDIR intrinsic calls
cannot reference this file. The end-of-file (EOF) is not
changed; the record pointer starts at zero. (Default)
1 Write access only, if the file's security provisions allow
write access. (This only applies if the file is not open with
shared access, otherwise you are given a “2” access) Any
data written in the file prior to the current HPFOPEN
request is deleted. FREAD, FREADSEEK, FUPDATE, and
FREADDIR intrinsic calls cannot reference this file. The
EOF is set to zero; the record pointer starts at zero. On
magnetic tape an EOF is written to the tape when the file
is closed even if no data is written.
2 Write-Save access only, if the file's security provisions
allow write access. Previous data in the file is not deleted.
FREAD, FREADSEEK, FUPDATE, and FREADDIR intrinsic
calls cannot reference this file. The EOF is not changed;
the record pointer starts at zero. Therefore, data is
overwritten if FWRITE is called. The system changes this
value to append for message files.