Consultor Eletrônico



Kbase P97579: COMPILE XREF does NOT list RUN reference type for external internal procedures' RUN statements
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/04/2011
Status: Unverified

SYMPTOM(s):

COMPILE XREF does NOT list RUN reference type for external internal procedures' RUN statements if an internal procedure of the same name is defined in the calling procedure.

COMPILE XREF DOES list RUN reference type for external internal procedures' RUN statements if NO internal procedure of the same name is defined in the calling procedure.

Compiling the following code with the XREF option:
DEFINE VARIABLE h AS HANDLE NO-UNDO.
RUN someproc IN h.
Generates the following XREF listing file that includes a RUN reference type for the internal procedure someproc being run in an external persistent procedure:
.\testa.p .\testa.p 1 COMPILE testa.p
.\testa.p .\testa.p 1 CPINTERNAL ISO8859-1
.\testa.p .\testa.p 1 CPSTREAM ISO8859-1
.\testa.p .\testa.p 1 STRING "h" 1 NONE UNTRANSLATABLE
.\testa.p .\testa.p 2 RUN someproc

Compiling the following code with the XREF option:
DEFINE VARIABLE h AS HANDLE NO-UNDO.
RUN someproc IN h.
PROCEDURE someproc.
END PROCEDURE.
Generates the following XREF listing file that does NOT includes a RUN reference type for the internal procedure someproc being run in an external persistent procedure:
.\testb.p .\testb.p 1 COMPILE testb.p
.\testb.p .\testb.p 1 CPINTERNAL ISO8859-1
.\testb.p .\testb.p 1 CPSTREAM ISO8859-1
.\testb.p .\testb.p 1 STRING "h" 1 NONE UNTRANSLATABLE
.\testb.p .\testb.p 5 PROCEDURE someproc,,
.\testb.p .\testb.p 5 STRING "SOMEPROC" 8 NONE UNTRANSLATABLE

FACT(s) (Environment):

All Supported Operating Systems
Progress 9.x
OpenEdge 10.x

CAUSE:

Enhancement Request# OE00111145

FIX:

None at this time.