Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)
46 Chapter3
Growth Solution
MPE/iX Large Files Overview
:listf @,11
ACCOUNT= SYS GROUP= EXAMPLE
Name Access FCode RecSiz Type EOF File Limit Disk Usage Exts
-------- ERWS ----- ------ ----- ------------- ------------- --------KB -----
BIGFILE 1024 FA 0 1023456789 0 0
ICE E NMPRG 256 FB 832 832 208 1
XKSM64 80 FAk 1 1023 64 1
XKSMXL 80 FAK 1 1023 52 1
XRAND RW 80 FA 157 157 16 1
XRAND2 W 252 VA 396 49 16 1
YRAND NMOBJ 256 FB 22 4000 8 1
:listfile ./@,11
PATH= /SYS/EXAMPLE/
Access FCode RecSiz Type EOF File Limit Disk Usage Exts Name
ERWS ----- ------ ----- ------------- ------------- --------KB ----- --------
1024 FA 0 1023456789 0 0 BIGFILE
E NMPRG 256 FB 832 832 208 1 ICE
80 FAk 1 1023 64 1 XKSM64
80 FAK 1 1023 52 1 XKSMXL
RW 80 FA 157 157 16 1 XRAND
W 252 VA 396 49 16 1 XRAND2
NMOBJ 256 FB 22 4000 8 1 YRAND
The display for the format options 10 and 11 is the same for each of the LISTF, LISTFILE,
and LISTFTEMP commands. One of the unique additions of these two new options is the
“ERWS” column. This column indicates whether or not the file is currently opened, and if
so, for what type of access. An “E” in the E column indicates that the file is opened for
Exclusive access, the “R” in the R column indicates that the file is opened for Read access,
the “W” in the W column indicates that the file is opened for Write access, and the “S” in
the S column indicates that the file is being Stored by the STORE or TurboSTORE utility. The
column may have one or more of these characters specified, or none, depending on how the
file is currently accessed.
Intrinsics Changes
As part of the addition of Large File support to MPE/iX several intrinsics changes have
been introduced. This encompasses both the modification of existing intrinsics, as well as
the introduction of a new set of intrinsics. This chapter describes all of the intrinsics
changes that have been implemented as a part of Large File support.
Existing Intrinsics
Relatively few changes have been necessary to the existing file system intrinsics in order
to implement Large Files. The majority of these changes are in support of adding 64-bit
return values for file byte offsets.
HPFOPEN Changes
As described in the section “User-Mapped Access to Files”, when performing user-mapped
access to Large Files, care must be taken to not attempt to dereference a buffer that