Previous Next

PERSISTENT attribute
Indicates whether the procedure is persistent.
Data type:
Access:
Applies to:
The PERSISTENT attribute is TRUE when the RUN statement that executes a procedure is invoked with the PERSISTENT option. Otherwise, it is FALSE.
When a dynamic invoke returns and PERSISTENT is TRUE, the IN-HANDLE attribute contains a handle to the running persistent procedure.
When a Windows DLL or UNIX shared library is invoked dynamically and PERSISTENT is TRUE, the DLL or shared library remains loaded in memory until the AVM exits or the session executes the RELEASE EXTERNAL statement
Returns TRUE for a Web service procedure.
If a procedure has already been invoked with PROCEDURE-TYPE set to "PERSISTENT", then PERSISTENT will automatically be set to TRUE. Setting PERSISTENT to TRUE when PROCEDURE-TYPE has already been set as "SINGLE-RUN" or "SINGLETON" will result in a run-time error.
See also 
IN-HANDLE attribute, INVOKE( ) method (Handle), PROCEDURE-TYPE attribute, RELEASE EXTERNAL statement, RUN statement

Previous Next
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates.