Kbase P14345: error 247 & 194 with preprocessors and FOR EACH statements
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  29/01/2003 |
|
Status: Unverified
SYMPTOM(s):
error 247 & 194 with preprocessors and FOR EACH statements
** <pgm> Line <num> --Invalid FOR, DO, REPEAT, or EDITING statement. (194)
** Unable to understand after -- "<". (247)
CAUSE:
Using dot sign (.) in defining preprocessors.
&GLOBAL-DEFINE WHERE-CLAUSE WHERE customer.cust-num < 10. /* . causing error */
FIX:
&GLOBAL-DEFINE WHERE-CLAUSE WHERE customer.cust-num < 10
FOR EACH customer {&WHERE-CLAUSE} NO-LOCK :
...
END.