Accessing Files Programmer's Guide (32650-90885)

24 Chapter2
Creating A File
The HPFOPEN Intrinsic
Passes a value indicating whether or not file equations are allowed. A
leading * in a formal file designator overrides the setting to disallow file
equations.
The following values are valid:
0 Allow file equations to override programmatic or
system-defined file specifications.
1 Disallow file equations from overriding programmatic or
system-defined file specifications.
File equations can be enabled for escaped pathnames expressed using
MPE-escaped name semantics or names expressed using POSIX name
semantics, but a matching file equation is not found since the file
designator on the left side of a file equation can only be expressed using
MPE-only syntax.
Default: 0
10/I32 File type:
Passes a value indicating the internal record structure used to access
records in the file. If the file is old, this option is ignored. Specifying an
itemnum
=5 value other than zero overrides this option. This option is
applicable only at file creation.
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: