Kbase P126529: Unknown database name error compiling Dynamics source code.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/25/2007 |
|
Status: Unverified
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.x
Dynamics
SYMPTOM(s):
Unknown database name error compiling Dynamics source code.
Unknown database name db_metaschema. (855)
Unknown or ambiguous table _file. (725)
** K:\RtbDyn\Workspaces\GsDas\das132-live\src\icf\af\app\afschemagp.p
Could not understand line 34. (196)
Using the Application compiler some of the dynamics source code fails to compile cleanly
CAUSE:
Some of the code in the dynamics framework references a database alias for the ICFDB. This ALIAS is created in the icfstart.p procedure.
Subsequently if the icfstart.p procedure is not run, then the ALIAS is not defined, and any references to it will cause the compilation to fail.
FIX:
To compile the source code with the Application Compiler, and without running icfstart.p, in the procedure editor execute the following code to set up the correct aliases. The code will then compile in the Application Compiler without error.
CREATE ALIAS AFDB FOR DATABASE VALUE("ICFDB":U).
CREATE ALIAS ASDB FOR DATABASE VALUE("ICFDB":U).
CREATE ALIAS RYDB FOR DATABASE VALUE("ICFDB":U).
CREATE ALIAS db_metaschema FOR DATABASE VALUE("ICFDB":U).
CREATE ALIAS db_index FOR DATABASE VALUE("ICFDB":U).