Consultor Eletrônico



Kbase P16291: 4GL/ABL: What is a Progress r-code procedure library?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/05/2010
Status: Verified

GOAL:

4GL/ABL: What is a Progress r-code procedure library?

GOAL:

How many types of r-code procedure libraries are in Progress?

GOAL:

How to generate a Progress memory-mapped procedure library?

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x
OpenEdge Category: Language (4GL/ABL)

FIX:

A Progress r-code library is a collection of r-code procedures combined in a single library file created by the Progress PROLIB utility. There are two types of r-code libraries in Progress: A standard library, which contains r-code procedures that execute in local memory, and a memory-mapped library, which contains r-code procedures that execute in shared memory.
The PROLIB makeshared parameter generates a memory-mapped procedure library from a standard r-code procedure library and saves the resulting memory-mapped r-code procedure library in the specified library file name. For example, the following command generates generate a memory-mapped library from an existing standard library:
PROLIB standard-library-name -makeshared mapped-library-name
Where:
standard-library-name is the name of an existing standard r-code procedure library.
mapped-library-name is the name of the memory-mapped r-code procedure library.
Because one cannot add, delete or otherwise modify a memory-mapped procedure library directly, all procedure modifications need to take place in the source standard library and each time the standard library is modified, the memory-mapped library must be regenerated.
To regenerate a memory-mapped r-code procedure library simply execute the same command used to generate it in the first place. For example:
PROLIB standard-library-name -makeshared mapped-library-name
Where:
standard-library-name is the name of an existing standard r-code procedure library.
mapped-library-name is the name of the memory-mapped r-code procedure library.