This Natural profile parameter specifies the sizes of the Natural work pools below and above the 16 MB line for one Natural session.
Natural uses work pools below and above the 16 MB line. In these work pools, all temporary buffers physical storage requests are satisfied.
Natural uses physical storage in special situations only, for example,
for passing parameter areas outside the thread (while the thread is released)
during the execution of the CALL
statement with the
"call by value option" indicated by a
SET CONTROL
'P=V'
statement under CICS.
The advantage of work pools is that, if there are many requests for physical storage, Natural can satisfy these requests by itself rather than by passing it to the operating system.
The WPSIZE
parameter is specified as follows:
WPSIZE=(size-below,size-above,maximum-below,maximum-above) |
Subparameters not to be changed can be omitted, e.g. you can specify
WPSIZE=(,1000)
if you want to set the work pool size only above
16MB to 1000 KB.
Natural allocates the work pools outside the Natural storage thread according to the specified settings. A work pool is allocated during the first request for physical storage and is released during the next terminal I/O.
For non-thread environments (e.g. batch, TSO), the recommended setting is
WPSIZE=(0,0)
. This may save virtual storage.