Consultor Eletrônico



Kbase P124966: 4GL/ABL: Error (11677) assigning concatenation result to a LONGCHAR variable or parameter.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/2/2009
Status: Verified

SYMPTOM(s):

4GL/ABL: Error (11677) assigning concatenation result to a LONGCHAR variable or parameter.

Directly assigning the concatenation result of two LONGCHAR variables or of a LONGCHAR variable and a SUBSTRING of another LONGCHAR variable to a LONGCHAR variable or to a LONGCHAR INPUT PARAMETER. For example:
longcharVar1 = longcharVar2 + SUBSTRING(longcharVar3, 1, 100) .
or
RUN myProcedure (INPUT longcharVar1 + longcharVar2)

Could not obtain memory for LONGCHAR variable. (11677)

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.1A

CAUSE:

Bug# OE00154520

FIX:

Upgrade to OpenEdge 10.1C or later release.

Workaround:
Capture the result of the SUBSTRING function in a separate LONGCHAR, and use that in the concatenation