DEFINE BUFFPOOL (define a buffer pool) on z/OS
Use the MQSC command DEFINE BUFFPOOL to define a buffer pool that is used for holding messages in main storage.
Using MQSC commands on z/OS
For information on how you use MQSC commands on z/OS®, see Sources from which you can issue MQSC and PCF commands on IBM® MQ for z/OS.
You can issue this command from sources 1. For an explanation of the source symbols, see Sources from which you can issue MQSC and PCF commands on IBM MQ for z/OS.
Syntax diagram for DEFINE BUFFPOOL
Usage notes
- Specify DEFINE BUFFPOOL commands in a data set identified by the CSQINP1 DD concatenation in the queue manager started task procedure.
- Use the DISPLAY USAGE TYPE(PAGESET) command to display buffer pool information (see DISPLAY USAGE (display usage information) on z/OS ).
- Use the ALTER BUFPOOL command to dynamically change the settings of a predefined buffer pool (see ALTER BUFFPOOL (alter buffer pool settings) on z/OS ).
Parameter descriptions for DEFINE BUFFPOOL
If more than one DEFINE BUFFPOOL command is issued for the same buffer pool, only the last one is processed.- (buf-pool-id)
- Buffer pool identifier.
This parameter is an integer in the range zero through 99.
- BUFFERS( integer )
- This parameter is required and is the number of 4096 byte buffers to be used in this buffer pool.
- LOCATION(LOC)(BELOW or ABOVE)
- LOCATION and LOC are synonyms and either, but not
both, can be used.
The LOCATION or LOC parameter specifies where the memory used by the specified buffer pool is located.
Attention: From IBM MQ 9.1,
LOCATION(BELOW) is deprecated and you should
use LOCATION(ABOVE) only.This memory location can be either ABOVE (64 bit) or BELOW (31 bit) the bar. Valid values for this parameter are BELOW or ABOVE, with BELOW being the default.
For more information, see Address space storage.
- PAGECLAS( 4KB or FIXED4KB )
-
Optional parameter that describes the type of virtual storage pages used for backing the buffers in the buffer pool.
This attribute applies to all buffers in the buffer pool, including any that are added later as a result of using the ALTER BUFFPOOL command. The default value is 4KB, which means that pageable 4KB pages are used to back the buffers in the pool.
4KB is the only valid value if the buffer pool has its LOCATION attribute set to BELOW. If the buffer pool has its LOCATION attribute set to ABOVE, it is also possible to specify FIXED4KB. This means that fixed 4KB pages, which are permanently in real storage and are never paged out to auxiliary storage, are used to back the buffers in the buffer pool.
The PAGECLAS attribute of a buffer pool can be altered at any time. However, the alteration only takes place when the buffer pool switches location from above the bar, to below the bar, or the other way round. Otherwise, the value is stored in the log of the queue manager and is applied when the queue manager next restarts.
When you specify PAGECLAS(FIXED4KB) the whole buffer pool is backed by page-fixed 4KB pages, so ensure that there is sufficient real storage available on the LPAR. Otherwise, the queue manager might not start, or other address spaces might be impacted. For more information, see Address space storage.
See IBM MQ Support Pac MP16: IBM MQ for z/OS - Capacity planning & tuning for advice on when to use the FIXED4KB value of the PAGECLAS attribute.
- REPLACE/NOREPLACE
- Optional attribute describing whether this definition of a buffer pool overrides any definition that might already be contained in the log of the queue manager.
