Communicator e3000 MPE/iX Release 6.5 (Non-Platform Software Release C.65.00 (30216-90291)

Chapter 3 47
Growth Solution
MPE/iX Large Files Overview
crosses a SID boundary. In order to ensure that programs are aware of this caveat,
traditional attempts to open a Large File for user-mapped access will fail. In order to open
a Large File for user-mapped access, a new HOP_OPTION_LARGE_MAPPED option (item
number 87) must be used, as described in the following table:
FLABELINFO Changes
Three new items will be supported by the FLABELINFO intrinsic. These new options are
described in the table below:
Item Name Item
Number
Item Size Description
HOP_OPTION_LARGE_MAPPED 87 @64
This item returns a 64-bit pointer
value which points to the start of
the file data of the specified file.
This item works for any sized file,
but is the only user-mapped access
option that works for Large Files
(files whose file limit is greater
than 4GB). Note that not all file
types allow user-mapped access. If
this item is requested against a
file type that does not support
user-mapped access, the
HPFOPEN
request will result in a failure.
Item
Name
Item
Number
Item Size Description
FLI_FILE_LIMIT_BYTES_64
62 8 bytes This item returns a 64-bit integer
which indicates the maximum file
size of the specified file in bytes. This
is the 64-bit equivalent of
FLABELINFO item 28.
FLI_COMPUTED_SECTORS_64 63 8 bytes This item returns a 64-bit integer
which holds the number of 256 byte
sectors of disk space that are
currently allocated to the specified
file.This item is the 64-bit equivalent
to the FLABELINFO item 58.
FLI_FILE_LIMIT_IS_LARGE 64 4 bytes This item returns a 32-bit integer
which can be used as a simple test to
see if the file limit of a file is greater
than 4GB. This item will return two
values:
0 = The file limit is less than 4GB
1 = The file limit is greater than 4GB