Kbase P124072: ABL: Error (12629) compiling an ABL class using the COMPILE statement.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  18/04/2011 |
|
Status: Verified
SYMPTOM(s):
ABL: Error (12629) compiling an ABL class using the COMPILE statement.
Name of the class in the CLASS statement '' must match the pattern of the name of the file ''. (12629)
Name of the class in the CLASS statement 'Client.Classes.test'' must match the pattern of the name of the file 'Source\Client\Classes\test.cls''. (12629)
** <program> Could not understand line <number>. (196)
** C:\OpenEdge\Work\Source\Client\Classes\test.cls Could not understand line <number>. (196)
PROPATH structure includes:
C:\OpenEdge
C:\OpenEdge\Work
C:\OpenEdge\Work\Source
C:\OpenEdge\Work\Source\Client
C:\OpenEdge\Work\Source\Client\Classes
...
The ABL Class being compiled is:
CLASS Client.Classes.test:
END CLASS.
The ABL Class being compiled absolute path is:
C:\OpenEdge\Work\Source\Client\Classes\test.cls
The following COMPILE statements fails:
COMPILE Source\Client\Classes\test.cls SAVE.
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.1x
CAUSE:
The class name string of the COMPILE statement neither match the class name nor is fully qualified.
FIX:
The class name string of the COMPILE statement must either match the class name or be fully qualified. Hence, the statement:
COMPILE Client\Classes\test.cls SAVE.
Succeeds because the class name string of the COMPILE statement: 'Client\Classes\test.cls' statement matches the class name: 'Client.Classes.test.cls'.
And, the statement:
COMPILE C:\OpenEdge\Work\Source\Client\Classes\test.cls SAVE.
Succeeds because the class name string 'C:\OpenEdge\Work\Source\Client\Classes\test.cls' is fully qualified.