Open System Services Management and Operations Guide (H06.06+)

Environment Limits
Open System Services Management and Operations Guide527191-004
E-5
OSS and Guardian Enscribe File Formats and File
Size Limits
OSS and Guardian Enscribe File Formats and
File Size Limits
The size limit for a file depends on:
The function used to open the file
The RVU on which the file was created
The type of API (OSS or Guardian) used to create the file
The current size of the file
File Size Limits For Files Created on H06.06 and Later RVUs
File Size Limit Behavior for File Open Operations
Attempts to use 32-bit OSS APIs such as open( ) to open any Guardian Enscribe
file that is larger than approximately 2 gigabytes fail with an error.
Limits for Guardian Enscribe files opened with Guardian APIs are described in the
Guardian Procedure Calls Reference Manual.
Note. For H06.06 and later RVUs, xxx() functions are mapped to xxx64( ) functions if
you compile the application using the #define _FILE_OFFSET_BITS 64 feature test macro
or an eqivalent compiler command option.
Table E-2. Size Limits for Files Created on H06.06 and Later RVUs
Using This Function
To Create
This File...
32-Bit OSS APIs
such as
creat( )
64-Bit OSS APIs
such as
creat64( )
Guardian APIs
without 64-Bit
elections
Guardian APIs
with 64-Bit
elections
OSS file 2GB - 8KB
(2,147,475,456
bytes), Enscribe
Format 1
Approximately
1TB-41MB,
constrained by
disk volume
space, Enscribe
Format 2
N/A N/A
Guardian
Enscribe file
Approximately
2GB - 2MB,
Enscribe
Format 1
Approximately
25GB,
Enscribe
Format 2
4GB - 4KB
(4,294,963,200
bytes), Enscribe
Format 1
1TB - 1MB
(1,099,510,579,2
00), Enscribe
Format 2