Returned message format

Two optional keys, RETURN_TCL and RETURN_SCHEMA, are added as sub-keys of OB_ACTION to indicate the returned result set format:

Key name: RETURN_TCL
Range: 0 or 1 (0: not Tcl list, 1:Tcl list)
Default: 0
Key name: RETURN_SCHEMA
Range: empty or a DB SCHEMA name
Default: empty
  • If RETURN_TCL is set, then the result set is made as a Tcl list. This is for compatibility for old behavior.
  • If RETURN_SCHEMA is empty, then the engine generates the return message based on the result set metadata.
  • If RETURN_SCHEMA is set a schema name, then the engine generates the return message based on the given schema.
  • If both RETURN_TCL and RETURN_SCHEMA are set, then the engine converts the return message to a Tcl list. The column order is based on the give schema.