Consultor Eletrônico



Kbase P123322: How to delete all PERSISTENT procedures currently running in a 4GL session?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   1/16/2009
Status: Verified

GOAL:

How to delete all PERSISTENT procedures currently running in a 4GL session?

GOAL:

How to remove all PERSISTENT procedures from memory after closing a SmartWindow?

FACT(s) (Environment):

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

FIX:

The following code deletes all PERSISTENT procedures running in the current 4GL session. Executing it at any point of the application removes all the PERSISTENT procedures running at that time from memory:
DO WHILE VALID-HANDLE(SESSION:FIRST-PROCEDURE):
DELETE PROCEDURE SESSION:FIRST-PROCEDURE.
END.