BAUTOINC parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 18: Line 18:


===Usage===
===Usage===
Setting of BAUTOINC to a non-zero value indicates that a file’s Table B may be automatically
Setting of BAUTOINC to a non-zero value indicates that a file’s <var>[[Table_B_(File_architecture)|Table B]]</var> may be automatically
increased when the file is full due to a lack of space in Table B. An automatic increase occurs
increased when the file is full due to a lack of space in Table B. An automatic increase occurs
after comparing the following and using the smallest number:
after comparing the following and using the smallest number:
Line 28: Line 28:
</ul>
</ul>
The number of unused pages to maintain for Table B is calculated as the difference between
The number of unused pages to maintain for Table B is calculated as the difference between
the number of pages in Table B (BSIZE) and the highest Table B page used (BHIGHPG). The
the number of pages in Table B (<var>[[BSIZE_parameter|BSIZE]]</var>) and the highest Table B page used (<var>[[BHIGHPG_parameter|BHIGHPG]]</var>). The
minimum value of BAUTOINC is 0; the maximum is 16777216.
minimum value of BAUTOINC is 0; the maximum is 16777216.



Revision as of 12:10, 13 October 2014

Number of pages for table B auto increase

Summary

Default value
0
Parameter type
File
Where set
At file creation and can be reset by file manager
Related products
All
Introduced
Model 204 V6.1

Description

The number of unused pages to maintain in Table B

Usage

Setting of BAUTOINC to a non-zero value indicates that a file’s Table B may be automatically increased when the file is full due to a lack of space in Table B. An automatic increase occurs after comparing the following and using the smallest number:

  • The value of BAUTOINC
  • The number of pages in the free space
  • The number of pages that can be added to Table B without changing the number of the file’s segments

The number of unused pages to maintain for Table B is calculated as the difference between the number of pages in Table B (BSIZE) and the highest Table B page used (BHIGHPG). The minimum value of BAUTOINC is 0; the maximum is 16777216.

You can view the BAUTOINC parameter and can use it for unordered, entry order, and sort key files created in Model 204 V6R1.0 or later. BAUTOINC is not implemented for hash key files.