MPE/iX Intrinsics Reference Manual (32650-90875)
Chapter 7 379
Command Definitions (HP32208-HPLOACNMPROC)
HPFOPEN
0 No multiple process access allowed. A unique record
pointer is created for this access to the file. For message
files, the file system sets the multiaccess option to 2 when
a zero is specified for this option.
1 Intrajob multiprocess access allowed. A record pointer is
shared with all other opened files of the same name in the
same job/session who opened the file with
itemnum
=14 is
set to either 1 or 2.
2 Interjob multiprocess access allowed. A record pointer is
shared with all other opened files of the same name on the
system. This is the same as specifying the GMULTI option
in a FILE command.
Default: 0
Native byte stream access (see item 77) is opened regardless of the value of
this
itemnum
. This
itemnum
is also ignored for directories since it is not
applicable.
(ASC) Not used for asynchronous devices.
15/I32 Multirecord:
Passes a value indicating that individual read or write requests are not
confined to record boundaries.
The following values are valid:
0 Nonmultirecord mode (NOMULTI)
1 Multirecord mode (MULTI)
Default: 0
If the number of half words or bytes to be transferred (specified in the
length
parameter of the read or write request) exceeds the size of the
physical record (that is, a block) that is referenced, the remaining half
words or bytes are taken from subsequent successive records until the
number specified by
length
has been transferred. For message (MSG) files
not accessed with
itemnum
=17 enabled, the file system sets this option to
zero. This option is available only if
itemnum
=46 is set to 1.
(ASC) This option is not used for printers.
16/I32 Nowait I/O:
Allows the accessor to initiate an I/O request and to have control returned
before the completion of the I/O. This option implies the inhibit buffering
option; if NOBUF is not specified, the file system does it. Multirecord access
is not available. This option is not available if the file is located on a
remote computer. When opening nonmessage files, the process must be
running in PM (execution level 2) to specify this option. Set
itemnum
=29 to
3 if the file is to be accessed while in user mode (execution level 3).
The following values are valid: