BUF control statement
The optional BUF control statement specifies a database for which the BB buffer handler is to be used, and to override the default number of buffers for BB.
The BB buffer handler allocates a separate buffer pool for each data set group of the database. It also allocates a certain number of buffers to each of these buffer pools—either the default or a specified number.
The default number of buffers depends on how the PCB is defined as an HSSR PCB. If an HSSR PCB is defined by use of either an HSSRPCB or an HSSRDBD control statement, and the value to the KEYLEN keyword for the PCB is less than 200, BB allocates six basic buffers for each data set as the default. If the KEYLEN value for the PCB is greater than 200, the number of basic buffers to be allocated is determined as explained in Number of Basic Buffers for an HSSR PCB.
0........1.........2.........3.........4.........5.........6.........7.........8
12345678901234567890123456789012345678901234567890123456789012345678901234567890
BUF dbdname ,nbrbuffers
- Position
- Description
- 1
- Code the BUF keyword to specify a database for which the BB buffer handler is to be used and to override the default number of buffers for BB.
- 5
- Code the 8-byte dbdname to specify the database for which the default number of buffers will be overridden (if the database name is not 8 bytes long, include trailing blanks).
- 13
- Add a comma (,) to separate the database name from the number of buffers.
- 14
- nbrbuffers is the number of buffers that you want BB to allocate for a buffer pool.