Kbase P128446: Program to estimate DB size using VST's
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/28/2010 |
|
Status: Verified
GOAL:
Program to estimate DB size using VST's
GOAL:
Sample program to calculate DB size in GB using VST's
FACT(s) (Environment):
All Supported Operating Systems
Progress 8.x
Progress 9.x
OpenEdge 10.x
FIX:
Here is a sample program that uses the VST _dbstatus:
/* Program that calculates the size of the DB in GB */
Find First _dbstatus.
Display "DB total size in GB: " _dbstatus._dbstatus-dbblksize * _dbstatus._dbstatus-totalblks / exp(1024,3).