Consultor Eletrônico



Kbase P81649: Error "REPLACE/CONCAT may not result in data > 32000 bytes" when concatenating large string
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   27/01/2009
Status: Verified

SYMPTOM(s):

Error "REPLACE/CONCAT may not result in data > 32000 bytes" when concatenating large string

REPLACE/CONCAT may not result in data > 32000 bytes

Concatenating string with code like:
variable = variable + newData

Variable defined as NO-UNDO

FACT(s) (Environment):

Progress 8.x
Progress 9.x
All Supported Operating Systems

CAUSE:

The content of the CHARACTER variable reaches the 32K limit

FIX:

Option #1
Upgrade to OpenEdge 10
In OpenEdge 10.x, the CHARACTER variable can be replaced with a LONGCHAR variable that is not limited to 32K in size.

Option #2
In Progress 9.1E and lower, this is a product limitation and therefore must be worked around in the application. For example, large amounts of data could be stored in a text file.