Enscribe Programmer's Guide
Both file formats are supported. The user usually does not have to specify the format. If left
unspecified, the system chooses format 1.
File format 2 is required when:
• An enhanced key-sequenced (EKS) file is used. EKS files are supported in J06.11 and H06.22
and later RVUs.
• A key-sequenced file with increased limits is used. To use increased Enscribe limits, the minimum
RVUs are H06.28 and J06.17 with specific SPRs. For a list of the required H06.28/J06.17
SPRs, see SPR Requirements for Increased Enscribe Limits for the H06.28/J06.17 Release
(page 18).
• An unpartitioned file (or a partition) has a maximum size that is over 2 GB – 1 MB.
• A non-key-sequenced file has a maximum size that is 4 GB or more (counting all partitions).
• An extent size is over 65535.
Users should take advantage of the properties of format 2 when appropriate.
Table 7 Comparison of Format 1 Versus Format 2 Files
Format 2 FilesFormat 1 FilesFile Attribute or Procedure Call
512 bytes to 32 KB512 bytes to 4 KBBlock Size
16 TB4 GB - 4 KBMaximum Partitioned File Size
(non-key-sequenced)
LKS2: 16 TB4 GB - 4 KBMaximum Partitioned File Size
(key-sequenced)
EKS: ~63 TB
EKS with increased limits: ~127 TB
~1 TB2 GB - 1 MBMaximum Unpartitioned File Size (single
partition)
Entry-Sequenced block size - 48Entry-Sequenced block size - 24Maximum Record Size: Entry-Sequenced,
Relative, Key-Sequenced (LKS or EKS).
Relative block size - 48Relative block size - 24
Queue files have the same record sizes
as Key-Sequenced files.
Key-Sequenced block size - 56
(except for 32 KB in which case it is
27648)
Key-Sequenced block size - 34
Using new 32-bit fields, extent sizes
can be larger than format 1 files.
64 K - 1 pages (128 MB)Extent Sizes (pages)
(The limit is dictated by the largest
size of a single physical disk).
Usable value is smaller than format
1 limit (928 or less)
Same (978 or less)Maximum Number of Extents
May be larger than standard514 byte disks = 16 extents of
65504 pages = EOF of
2,146,435,072 bytes
End-of-File Values
1
512 byte disks = 16 extents of
65492 pages = EOF of
2,146,041,856 bytes
Non-Key-Sequenced: 16 partitions16 partitionsNumber of Partitions
LKS2: 16 partitions
EKS: 64 partitions
EKS with increased limits: 128
partitions
File Creation 47