Parameters and Control Variables

View models can have variables, which can be used by the various operators in the model. Variables include global parameters (that is, parameters to the entire view model or data service) and control variables introduced by some operators (such as Iterator and Custom).

These variables, along with the values of columns in the inputs to an operator, can be referenced in the expressions that control the behavior of the operators. Some examples are the where expression in a Select operator and the column definitions in a Projection operator.

Control variables introduced by various operators are accessible only to expressions in upstream operators—that is, in operators to the left, whose output directly or indirectly flows into the operator that introduces the control variable.

View model parameters are accessible from any place in the view model where you can enter expressions. View model parameter values can be singletons or arrays. To see a list of data types you can use for parameters, go to the bottom pane, click in the Type column of the Parameters tab, and pull down the menu.

You can view, enter, and modify view model parameters on the Parameters tab in the bottom pane of the Data Federation perspective.

Send your feedback on this help topic to Sybase Technical Publications: pubs@sybase.com

Your comments will be sent to the technical publications staff at Sybase, Inc. For product-related issues or technical support, contact Sybase Technical Support at 1-800-8SYBASE.