setGroup Statement
Added: build 1
Purpose
Enables FileWrapper components to use the Analysis Server's group properties for hierarchical organization for input/output variables.
Applicability
The setGroup statement can be used within RowFieldInputFile and RowFieldOutputFile sections.
Additional Information
- Variables defined after one of these statements are placed into the specified
group until another setGroup statement is issued. In order to organize the
groups hierarchically, the user should use a dot syntax to specify new subgroups.
- The group can be reset to the global group (no group) using:
setGroup ""
Syntax
setGroup <string>
Arguments
| Name | Description |
| string |
The name of the group to insert subsequently defined variables. Use periods to
delineate subgroups.
|
Example
The user would like two groups, pump and heatExchanger, along
with a variable not included in any group, numberOfComponents. Each group will
have a variable, reliefPressure, and a sub-group called materials. The code
needed to establish these relationships is shown below.
# name type row field
variable: numberOfComponents int 1 1
# name type row field
setGroup "pump"
variable: reliefPressure int 2 1
setGroup "pump.materials"
...
# name type row field
setGroup "heatExchanger"
variable: reliefPressure int 3 2
setGroup "heatExchanger.materials"
...
See also Analysis Server |
FileWrapper |
FileWrapper Statements