Consultor Eletrônico



Kbase P100539: ADM2: Errors (2939), (193), (2949), (2124) and (196) saving an SDO.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/18/2010
Status: Verified

SYMPTOM(s):

Preprocessor expansion buffer overflow. (2939)

** <program> Could not understand line <number>. (193)

&THEN without matching &IF or &ELSEIF. (2949)

** Preprocessor could not understand line <line-number> in file '<file-name>'. (2124)

** <program> Could not understand line <number>. (196)

Errors are generated trying to save a newly created ADM2 SmartDataObject using the AppBuilder.

FACT(s) (Environment):

Windows
Progress 9.x
OpenEdge 10.x

CAUSE:

A Data Dictionary field validation expression was using a preprocessor name with a missing closing bracelet. The Data Dictionary field validation expression was written as: {includefilename.i fieldname instead of {includefilename.i fieldname}

FIX:

Ensure the syntax of the preprocessor name in the Data Dictionary field validation expression is correct. For example, write the preprocessor name in the offending example above using the following syntax:
{includefilename.i fieldname}