Consultor Eletrônico



Kbase P113224: Compiling code with preprocessor variables returns compiler error
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/6/2006
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1A

SYMPTOM(s):

Compiling code with preprocessor variables returns compiler error

** Unable to understand after -- "def". (247)

** One or more missing keywords in DEFINE statement. (404)

Parameter as a parameter for preprocessor variable used is empty.

Example code:
/* program.p */
{ttBetaling.i &Access = {&Access} &Access = {&Access}}
/* ttBetaling.i */
def {&Access} temp-table ttBetaling field KasseBetID as decimal.

compile program.p preprocess program.pp.


/* preprocessorfile program.pp*/
def temp-table ttBetaling field KasseBetID as decimal.


CAUSE:

This is a known issue being investigated by Development

FIX:

/* Workarround by compiling with no-error option :*/
compile program.p preprocess program.pp no-error.