Adding a component in a Job script
To add and configure a component in a Job script, type in the addComponent{} function and define its properties between the brackets.
Component properties can be divided into three main parts:
- component definition
- specific settings
- component schema
addComponent{} properties
Function | Description | Mandatory? |
---|---|---|
setComponentDefinition{} |
Add the following parameters in this function to define the general properties:
|
Yes |
setSettings {} |
Define the component settings. The parameters of this function are specific to each component. For more information, see Job script properties of frequently used components. |
Yes |
addSchema {} |
Use this function to define the schema of the component. For more information, see Defining a schema in a Job script. |
Yes for most components |
Example
The following example shows how to add a tFileInputDelimited component in a Job script.
addComponent {
setComponentDefinition {
TYPE: "tFileInputDelimited",
NAME: "tFileInputDelimited_1",
POSITION: 192, 128
}
...
}