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 deleteSession procedure is to execute the ABL statement WAIT-FOR PROCEDURE COMPLETE. The WAIT-FOR statement in deleteSession procedure can cause an error if your application has an outstanding WAIT-FOR call. You can direct deleteSession procedure to skip the WAIT-FOR call, by calling #rfi1387308674757 with a logical "NO" input parameter.
  • If you direct deleteSession procedure 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 deleteSession procedure to execute the ABL statement WAIT-FOR PROCEDURE COMPLETE.

See also

deleteSession procedure, getShutdownWaitFor function.