Consultor Eletrônico



Kbase P15705: How to programmatically get the information about the size for the fixed extent defined in the db st
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Verified

GOAL:

How to programmatically get the information about the size for the fixed extent defined in the db structure file from the VST

GOAL:

How to determine actual disk usage

FACT(s) (Environment):

Progress 9.1x

FIX:

The way to programmatically get the size for the fixed area extent would be to query the _AreaExtent.Extent-Size field for the fixed type extent.

The following code shows this would be done:

FOR EACH _Area NO-LOCK:
DISPLAY _Area.
  FOR EACH _AreaExtent OF _Area NO-LOCK:
    DISPLAY _AreaExtent._Extent-path FORMAT "X(40)"
        _AreaExtent._Extent-type
        _AreaExtent._Extent-size.
END.
END.