Consultor Eletrônico



Kbase 19732: Real Maximum Sizes for Character Variables
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   21/08/2003
Status: Unverified

GOAL:

How to determine the real maximum CHARACTER variable length.

FIX:

To determine size:

1) Maximum progress ditem (data item) length 32000.
Please note that this is not 2^15, or 32768).

2) Subtract 8 bytes for the ditem header.

3) Subtract one byte for the null terminator.