Parameter Attribute
The Integrator Parameter object supports the parms attribute and its sub-object attributes as described in the tables below.
Parameter Attribute
Attribute | Type | Description |
---|---|---|
parms | Array of Arrays | The parms attribute contains one or more defined parameters. Each parameter is comprised of the sub-object attributes shown in the Parameter Sub-Object Attributes table below. |
Parameter Sub-Object Attributes
Attribute | Type | Description |
---|---|---|
name (required) |
String |
Defines the name of the parameter being declared. Parameter names are case-insensitive. However, on UNIX systems, parameters that inherit values from environment variables must match the environment variables in a case-sensitive manner. A parameter can be used by other objects in a script. To do so, include the parameter name in a parameter string in the script. NOTE: A good practice is that parameter names should be lower case and not contain spaces or any special characters except for underscore. |
alias | String | If present, this attribute defines a new name that is used when the parameter is referred to within the script itself. The parameter name is still used to define parameter values, on the command-line, through the environment, or passed as arguments to Tunnel objects. The alias is used within the script itself, for parameter substitution or dependency expressions. This feature is useful in Tunnel situations where Dimension names are passed as parameters, but these Dimension names contain special characters like spaces so that the parameter names cannot be used as a dependency. The dimension name can be aliased to a name that meets the rules of a parameter name (alphanumeric, beginning with a letter). |
type | String | Defines the parameter type. Valid values include: "string" "int" "double" "boolean" "array"
|
default | String, Integer, Double | Identifies the default value of the parameter. If a parameter is not defined, either through arguments or an environment variable, this value is used as the parameter value. If default is not used, the default value is as follows:
|
environment | Boolean |
Defines whether the parameter can inherit its value from an environment variable when no argument is provided. When environment is "true", the parameter value is taken from the environment variable if an environment variable of the same name exists and no parameter value is given. |