User guide
Data Integration with Sybase Avaki Studio 143
Input Source
Configuring error handling
You can choose how data services deployed from this view model will behave if this
input source is unavailable or unresponsive. By default, a data source fails and returns
an error if any input source fails to respond. If you want data services deployed from
this view model to run even when this input source is unavailable, or to return an error
upon receiving an empty result set, follow these steps.
Step 1 Click the Error Handling tab in the Input Source Properties dialog box. The dialog
box displays the error handling options.
Step 2 Click one of the radio buttons:
• Stop the data service on errors from this input source. This is the default behav-
ior. Choose this option if you don’t want the data service to run when this input
source is unavailable.
• Stop the data service on an empty result set or errors from this input source.
Choose this option if you don’t want the data service to run when it receives an
empty result set from this input source, or when this input source is unavailable.
• Don’t stop the data service on errors from this input source; return an empty
result set. Choose this option if you want the data service to run with an empty
result set for this input source when this input source is unavailable.
Step 3 (Optional) If you chose Stop the data service on an empty result set..., you can enter
your own error message in the Empty result set message field. If you chose Stop the
data service on an empty result set... and you don’t enter an error message here, Stu-
dio uses a default error message that says “<data-source> returned no rows.”
Step 4 Click OK to save your changes.