Consultor Eletrônico



Kbase P68815: 4GL/ABL: Error (11382) Trying to DISPLAY a LONGCHAR variable using VIEW-AS EDITOR LARGE option of th
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   06/02/2009
Status: Verified

SYMPTOM(s):

4GL/ABL: Error (11382) Trying to DISPLAY a LONGCHAR variable using VIEW-AS EDITOR LARGE option of the DISPLAY statement.

INPUT/OUTPUT operations are not allowed with RAW, ROWID, MEMPTR, BLOB, CLOB or LONGCHAR type variables. (11382)

Running code similar to the following generates the error:
DEFINE VARIABLE lcVariable AS LONGCHAR NO-UNDO.
DISPLAY
lcVariable
VIEW-AS EDITOR LARGE SIZE 55 BY 12.86.

FACT(s) (Environment):

Windows
OpenEdge 10.0A
OpenEdge Category: Language (4GL/ABL)

CAUSE:

Bug# OE00101250

FIX:

Upgrade to OpenEdge 10.0B or later. If upgrading to OpenEdge 10.0B or later is not feasible, a work around is use the VIEW-AS EDITOR LARGE phrase in the variable definition instead of the DISPLAY statement. For example:
DEFINE VARIABLE lcVariable AS LONGCHAR NO-UNDO.
DISPLAY
lcVariable
VIEW-AS EDITOR LARGE SIZE 55 BY 12.86.