Consultor Eletrônico



Kbase P64110: COMPILE XREF output does not show PUBLISH, SUBSCRIBE and UNSUBSCRIBE objects
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/13/2004
Status: Verified

FACT(s) (Environment):

Progress 9.X
OpenEdge 10.X

SYMPTOM(s):

PUBLISH does not appear to be in output from COMPILE XREF

SUBSCRIBE does not appear to be in output from COMPILE XREF

UNSUBSCRIBE does not appear to be in output from COMPILE XREF

COMPILE XREF output does not show PUBLISH, SUBSCRIBE and UNSUBSCRIBE objects

PUBLISH ... FROM statement is used within compiled procedure

SUBSCRIBE TO an event is used within compiled procedure

UNSUBSCRIBE TO an event is used within compiled procedure

CAUSE:

This is expected behavior. PUBLISH .. FROM, SUBSCRIBE TO and UNSUBSCRIBE TO an event are not supposed to show up in COMPILE XREF output file.

FIX:

PUBLISH will show up in the XREF output file, as long as it is not a PUBLISH...FROM.

For SUBSCRIBE and UNSUBSCRIBE, if the optional [PROCEDURE subscriber-handle] is specified, meaning subscribe or unsubscribe another procedure to an event, then the statement will NOT show up in the XREF file.