MPE/iX Intrinsics Reference Manual (32650-90875)
380 Chapter7
Command Definitions (HP32208-HPLOACNMPROC)
HPFOPEN
0 Nowait I/O not in effect
1 Nowait I/O in effect
Default: 0
Directories may not be opened using Nowait I/O (1).
17/I32 Copy mode:
Passes a value that determines if any file should be treated as a standard
sequential file so it can be copied by logical record or physical block to
another file.
Byte stream files and directories are accessed using normal access (0)
regardless of the value specified for this
itemnum
.
The following values are valid:
0 The file is accessed as its own file type (for example, a
message file is treated as a message file).
1 The file is to be treated as a standard (STD) file with
variable-length records. For message files, this allows
nondestructive reading of an old message file at either the
logical record or physical block record level. Only
block-level access is permitted if the file is opened with
write access. This prevents incorrectly formatted data
from being written to the message file while it is
unprotected. To access a message file in copy mode, a
process must have exclusive access to the file.
(KSAM) Not allowed for KSAM XL or KSAM64 files.
Default: 0
18/I32 Short-mapped:
Returns a short pointer to the beginning of the data area of the file. This
option maps the file into short pointer space. A short-mapped file can be 4
megabytes in length. The calling process can have up to 6 megabytes of
short-mapped files open at a time. Use the pointer as a large array of any
type to efficiently access the file.
NOTE
SHORT MAPPED files are limited to 4 MB in size per file with a 6MB/process
limit. The system space that holds all SHORT MAPPED files is limited to
1GB with some space already used by the operating system. If a large number
of files or large amount of space is needed, consider opening the files
LONG-MAPPED (item number 21) or LARGE-MAPPED (item number 87)
A file previously opened normally (not mapped) or with the long-mapped
option is not accessible with the short-mapped option. If this option is
specified with the file already opened into long pointer space, an error
results.
A loaded program file or a loaded library file is not accessible with the