Returned message control

A GETRETURNVALUE key is added as a sub-key of OB_ACTION to indicate if the outbound database protocol driver generates a returned message.

{ OB_ACTION {
   …
   { GETRETURNVALUE 0 }
} }
Key name: GETRETURNVALUE
Range: 0 or 1 (0: disable, 1:enable)
Default: 0

This works together with Await replies to indicate the returned message type:

  • If GETRETURNVALUE is disabled and Await replies is disabled, then the engine does not get the return value.
  • If GETRETURNVALUE is enabled and Await replies is disabled, then the engine generates a DATA message for the return value.
  • If GETRETURNVALUE is enabled and Await replies is enabled, then the engine generates a REPLY message for the return value.
  • If GETRETURNVALUE is disabled and Await replies is enabled, then the engine writes a warning in the engine log. A REPLY message is still generated for the return value.