MPE/iX Intrinsics Reference Manual (32650-90875)
Chapter 7 389
Command Definitions (HP32208-HPLOACNMPROC)
HPFOPEN
(ASC) Not used for asynchronous devices.
40/I32 Block factor:
Passes the number of logical records to be contained in one physical record
(block). This value is used to calculate the physical record size (block size)
for disk and magnetic tape files. Valid ranges are 1..32,767. This option is
applicable only at file creation.
For fixed-length records, this option specifies the actual number of records
in a block. For variable-length records, this option is interpreted as a
multiplier used to compute the block size (
record size option * block
factor
option
). For undefined-length records, this option is always one logical
record per block.
This
itemnum
may not be specified when creating hierarchical directories.
Default: 1 for files opened NOBUF; for files opened BUF, it is calculated by
dividing the specified records into the block size configured for the device.
(ASC) Not used for asynchronous devices.
41/I32 Name syntax:
Specifies which of three name semantics will be used to interpret the
filename passed to HPFOPEN:
0 MPE-escaped semantics
1 MPE-only sematics
2 POSIX semantics
MPE-escaped name semantics is the default value for this
itemnum
. The
selected name semantics do not apply to file equations specified through
itemnum
52 or system-defined file references specified through
itemnum
5.
42/CA Device class:
Passes a device class where the file resides. The file system uses the device
class name to select a nonshareable device from a configured list of
available devices. The name can have a length of up to eight alphanumeric
characters, beginning with a letter (for example, TAPE). If a device class is
specified, the file is allocated to any available device in that class.
Only one of the following options can be in effect when a file is opened:
itemnum
=20
itemnum
=22
itemnum
=23
itemnum
=42
Default: A disk file located on the volume class DISC associated with the
group in which file resides.
A character placed in the first element designates the delimiter used by