Try OpenEdge Now
skip to main content
Startup Command and Parameter Reference
Startup Parameter Descriptions : PROLIB Swap (-pls)

PROLIB Swap (-pls)

Use PROLIB Swap (-pls) to direct the AVM to store r-code segments from a standard procedure library locally in the r-code swap file, rather than the usual behavior.
Operating system and syntax
UNIX / Windows
Use with
Maximum value
Minimum value
Single-user default
Multi-user default
Client Session
Usually, OpenEdge opens the library file and loads the required r-code segments into the r-code execution buffer. When OpenEdge needs to make space, the segment is removed from the execution buffer. Later, if that segment is needed again, OpenEdge re-reads the segment from the open library which remains in the execution buffer until the end of your OpenEdge session or until you remove the library from the PROPATH.
This process is generally faster than loading the r-code segment from the r-code swap file. However, if the procedure library is accessed over a network, reading r-code segments once and storing them locally in the r-code swap file might be more efficient.
Note: Codepage-converted text segments from a standard procedure library are always swapped to the r-code swap file, whether or not you specify -pls.
If you specify -pls with memory-mapped procedure libraries, the AVM ignores it. For more information on procedure libraries, see OpenEdge Deployment: Managing ABL Applications and OpenEdge Getting Started: ABL Essentials.