TurboIMAGE/XL Database Management System Reference Manual MPE/iX V6.5 (30391-90011)

Chapter 5 197
TurboIMAGE/XL Library Procedures
DBINFO
Total size: (n + 1) * 4 bytes.
If the data set is not a jumbo data set, then zero is returned for the number of chunks.
Mode 208: Primary and Actual Capacity
Mode 208 returns the primary and actual capacity.
Qualifier identifies the data set name or number for which the information is
requested.
Buffer must be at least a 64-byte record and returns the following (each element
is a 32-bit Word):
DBINFO mode 208 does not return an expandable flag, while DBINFO 205 returns an
expandable flag. The flag can also be deduced by comparing the current and maximum
Element Contents
1 # of chunks in a jumbo data set
20
3-4 Size of chunk 1 (# entries, not # of blocks!)
5-6 Size of chunk 2 (# entries, not # of blocks!)
7-8
.
.
.
2n + 3 Size of chunk n (# entries, not # of blocks!)
Element Contents
1 Primary (hashing) capacity for masters, 0 for details
2 Current capacity, including expansions
3 Maximum capacity
4 Expansion threshold:
-1...100 percentage
-1 this value means expansion is not triggered by percentage, or it
is a non-expandable set
5 Delete chain free head (0 for non-expanded masters)
6 high-water mark (0 for non-expanded masters)
7 Expansion threshold:
-1...2 billion blocks
-1 this value means expansion not triggered by traversing # blocks
without success, or it is a non-expandable set
8...16 Reserved; 0 is returned