Consultor Eletrônico



Kbase P86761: Error 293 because of a *dummy* compile time argument so Progress searches the source code
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/07/2004
Status: Unverified

SYMPTOM(s):

** "<file-name>" was not found. (293)

.R file is available in the PROPATH

Source code is not deployed (production environment)

CAUSE:

A dummy (a typo) compile time argument is sent to the program so Progress searches the source code to compile it on the fly, as illustrated bellow:
/* test.p */
/* Notice the second closing bracket before the full stop */
RUN test2.p (INPUT "Don't forget these good old compile time arguments...")).

/* test2.p */
DEFINE INPUT PARAMETER x AS CHARACTER.
MESSAGE x.

If test2 was doing MESSAGE x SKIP "{1}"., the message would display the value of c plus the dummy closing bracket ')' that has been passed an argument to the program. Compile time arguments are like preprocessors and require the source to be compiled. Progress can definitely not handle a compile time argument with precompiled code (.R files).

Note that this problem may not be detected at development time because Progress will find the source and compile it on the fly ignoring this dummy argument (since the code may not refer to it) without telling you.

You can even use this trick on purpose to force Progress to recompile a program (such as when using -q quick request start up parameter).

FIX:

Make sure your RUN's do not send dummy arguments before the full stop.