This Natural profile parameter specifies whether or not a placeholder is put into the Natural Buffer Pool when an object was not found in a library.
Possible settings | ON |
When an object was not found, a placeholder is put into the buffer pool.
Notes:
|
---|---|---|
OFF |
When an object was not found, no placeholder is put into the buffer pool. | |
Default setting | OFF |
|
Dynamic specification | yes | |
Specification within session | no |
Assume the Natural buffer pool is empty, you have started Natural with the parameter
STEPLIB=XYSTEP
, made a LOGON
to library XYLIB
,
trying to execute the program XYPROG
, which resides in library
SYSTEM
/FUSER
. While loading the program XYPROG
,
Natural searches the object firstly in library XYLIB
, secondly in library
XYSTEP
, and finally finds it in SYSTEM
/FUSER
.
When the profile parameter BPSFI
(Object Search First in Buffer
Pool) is set to OFF
, every user doing the same will also make
database calls to search for the object XYPROG
in library XYLIB
and XYSTEP
, but these database calls will never succeed. To prevent these
unnecessary database calls, a placeholder is put into the buffer pool.
When you use the SYSBPM utility to look into the buffer pool, you will see the placeholder as an ordinary object:
14:34:39 ***** NATURAL SYSBPM UTILITY ***** 2011-05-02 BPNAME QA82GBP - List Objects - Type Global Nat BPPROP OFF Loc DAEF QA82 C Library Object DBID FNR Loc RLD Use Max Reuse TotalUC ObjSize Sto *_______ ________ _____ ____ ___ ___ ___ ___ ______ ___________ _______ ___ __ XYLIB XYPROG 10 32 B 1 1 90 4 __ SYSTEM XYPROG 10 32 B 1 1 2,656 4 __ XYSTEP XYPROG 10 32 B 1 1 90 4 |