Try OpenEdge Now
skip to main content
Messaging and ESB
ABL - JMS API Reference : setShutdownWaitFor procedure
 

setShutdownWaitFor procedure

Sets a LOGICAL value indicating the setting of the shutdown WAIT-FOR flag.

Syntax

PROCEDURE setShutdownWaitFor.
DEFINE INPUT PARAMETER val AS LOGICAL.

Applies to

Session objects

Notes

*The default behavior of deleteSessionprocedure is to execute the ABL statement WAIT-FOR PROCEDURE COMPLETE. The WAIT-FOR statement in deleteSessionprocedure can cause an error if your application has an outstanding WAIT-FOR call. You can direct deleteSessionprocedure to skip the WAIT-FOR call, by calling setShutdownWaitForprocedure with a logical "NO" input parameter.
*If you direct deleteSessionprocedure to skip the WAIT-FOR call, your application must issue a blocking-I/O statement to allow the adapter to process the shutdown message.
*The default value for the shutdown WAIT-FOR flag is YES, which tells deleteSessionprocedure to execute the ABL statement WAIT-FOR PROCEDURE COMPLETE.

See also

deleteSessionprocedure , getShutdownWaitForfunction.