BPSFI - Object Search First in Buffer Pool

#### Search Results

Search

# BPSFI - Object Search First in Buffer Pool

This Natural profile parameter determines the sequence in which a requested object that is to be executed is searched for in the buffer pool and in the system file(s).

You can choose between two search sequences:

Possible settings | `ON` | Search Sequence 1 is used (search buffer pool first for all libraries, then the system file(s)). Natural looks for the object in the following sequence until it is found: in the buffer pool, first in the current library, then in one steplib after another, then in the two `SYSTEM` libraries; in the system file(s), first in the current library, then in one steplib after another, then in the two `SYSTEM` libraries. For performance reasons, it is recommended that you set `BPSFI=ON` in production environments. Caution If you set `BPFSI=ON`, make sure that object names are unique across all libraries that are involved in the search. If objects with the same name exist in different libraries being searched, unpredictable results may occur.
`OFF` | Search Sequence 2 is used (alternating search in buffer pool and system file(s) for each library). Natural looks for the object in the following sequence until it is found: in the current library, first in the buffer pool, then in the system file(s); in one steplib after another, first in the buffer pool, then in the system file(s) for each steplib; in the two `SYSTEM` libraries, first in the buffer pool, then in the system file(s) for each library. `BPSFI=OFF` is recommended in development environments to always get the most current object from your own current library.
Default setting | `OFF` |
Dynamic specification | yes |
Specification within session | no |

For further information, see Steplibs and Search Sequence for Object Execution in the Using Natural Studio documentation.