BAUTOINC parameter: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (lai note)
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 of BAUTOINC to a non-zero value indicates that a file’s <var>[[Table_B_(File_architecture)|Table B]]</var> may be automatically
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 when the file is full due to a lack of space in Table B. An automatic increase occurs
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>LAI</var> or <var>FLOD<var> command.


[[Category:CREATE parameters]]
[[Category:CREATE parameters]]
[[Category:File parameters]]
[[Category:File parameters]]
[[Category:Parameters]]
[[Category:Parameters]]

Revision as of 20:04, 3 March 2015

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 LAI or FLOD command.