Consultor Eletrônico



Kbase P23473: How to programmatically find the database block size?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/02/2011
Status: Verified

GOAL:

How to programmatically find the database block size?

GOAL:

How to programmatically find the bi file block size?

GOAL:

How to programmatically find the bi file cluster size?

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems

FIX:

The following 4GL code displays the database block size, the bi file block size
and the bi file cluster size.

FIND FIRST _dbstatus NO-LOCK.
MESSAGE
"The database block size is:" "~t" _dbstatus-DbBlkSize "~n"
"The bi file blcok size is:" "~t" _dbstatus-BiBlkSize "~n"
"The bi file cluster size is:" "~t" _dbstatus-BiClSize
VIEW-AS ALERT-BOX INFO BUTTONS OK.