Consultor Eletrônico



Kbase P65670: Code runs fine when invoked from the Procedure Editor, gets
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/3/2004
Status: Unverified

SYMPTOM(s):

Code runs fine when invoked from the Procedure Editor

When run from within production application gets error 565 which references a table that does not exist in the database

** FIND FIRST/LAST failed for table . (565)

CAUSE:

The RUN statement uses the ./program_name syntax and the working directory was unknowingly changed by something in the application which caused another .r with the same name to be executed

FIX:

Modify the RUN statement so that it uses relative pathing (i.e. remove the period). This will cause Progress to search the PROPATH to find the correct program to execute.