BAUTOINC parameter: Difference between revisions
(→Usage) |
m (link repair) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:BAUTOINC parameter subtitle}} | {{Template:BAUTOINC parameter subtitle}} | ||
==Summary== | ==Summary== | ||
<dl> | <dl> | ||
Line 15: | Line 16: | ||
==Description== | ==Description== | ||
The number of unused pages to maintain in Table B | The number of unused pages to maintain in Table B. | ||
===Usage=== | ===Usage=== | ||
Setting | Setting <var>BAUTOINC</var> to a non-zero value allows a file’s <var>[[Table B (File architecture)|Table B]]</var> to be automatically | ||
increased | increased if 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: | ||
<ul> | <ul> | ||
<li>The value of BAUTOINC</li> | <li>The value of <var>BAUTOINC</var></li> | ||
<li>The number of pages in the free space</li> | <li>The number of pages in the free space</li> | ||
<li>The number of pages that can be added to Table B without changing the number of | <li>The number of pages that can be added to Table B without changing the number of | ||
Line 28: | Line 29: | ||
</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 (<var>[[BSIZE_parameter|BSIZE]]</var>) and the highest Table B page used (<var>[[BHIGHPG_parameter|BHIGHPG]]</var>). 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>). | ||
minimum value of BAUTOINC is 0; the maximum is 16777216. | |||
The minimum value of <var>BAUTOINC</var> 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. | You can view the <var>BAUTOINC</var> parameter, and you can use it for unordered, entry order, and sort key files created in Model 204 V6R1.0 or later. <var>BAUTOINC</var> is not implemented for hash key files, and it is not available for file loading with the <var>[[FLOD command|FLOD]]</var> or the <var class="product">[[Fast/Reload]]</var> product's Load All Information (<var>[[Fast/Reload statements#The LAI statement|LAI]]</var>) statement. | ||
[[Category:CREATE parameters]] | [[Category:CREATE parameters]] | ||
[[Category:File parameters]] | [[Category:File parameters]] | ||
[[Category:Parameters]] | [[Category:Parameters]] |
Latest revision as of 16:57, 19 February 2016
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 BAUTOINC to a non-zero value allows a file’s Table B to be automatically increased if 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 you 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, and it is not available for file loading with the FLOD or the Fast/Reload product's Load All Information (LAI) statement.