tSasOutput
Executes the action defined on the table and/or on the data contained in the table,
based on the incoming flow from the preceding component in the Job.
Before being able to benefit from all functional objectives of the SAS
components, make sure to install the following three modules: sas.core.jar,
sas.intrnet.javatools.jar and sas.svc.connection.jar in the path lib > java in
your
Talend Studio
directory. You can later verify, if
needed whether the modules are successfully installed through the Modules view of
the Studio.
tSasOutput writes, updates, makes
changes or suppresses entries in a database.
tSasOutput Standard properties
These properties are used to configure tSasOutput running in the Standard Job framework.
The Standard
tSasOutput component belongs to the Databases family.
The component in this framework is generally available.
Basic settings
|
Use an existing connection |
Select this check box and in the Component Note:
When a Job contains the parent Job and the child Job, if you need to share an
existing connection between the two levels, for example, to share the connection created by the parent Job with the child Job, you have to:
For an example about how to share a database connection across Job levels, see |
|
SAS URL |
Enter the URL to connect to the desired DB. |
|
Driver JAR |
In the drop down list, select a desired available driver, or |
|
Class Name |
Type in the Class name to be pointed to in the driver. |
|
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
|
Table |
Name of the table to read. |
|
Action on data |
On the data of the table defined, you can perform:
Insert: Add new entries to the
Update: Make changes to existing Insert or update: Insert a new record. If Update or insert: Update the record with the
Delete: Remove entries Warning:
It is necessary to specify at least one |
|
Clear data in table |
Select this check box to delete data in the selected table before |
|
Schema and Edit |
A schema is a row description. It defines the number of fields (columns) to |
|
|
Built-In: You create and store the |
|
|
Repository: You have already created When the schema to be reused has default values that are integers or You can find more details about how to verify default |
|
Click Edit schema to make changes to the schema.
|
|
|
Die on error |
This check box is selected by default. Clear the check box to skip |
Advanced settings
|
Commit every |
Enter the number of rows to be completed before committing batches |
|
Additional Columns |
This option is not offered if you create (with or without drop) |
|
|
Name: Type in the name of the |
|
|
SQL expression: Type in the SQL |
|
|
Position: Select Before, Replace or After |
|
|
Reference column: Type in a |
|
Use field options |
Select this check box to customize a request, especially when |
|
Enable debug mode |
Select this check box to display each step during processing |
|
tStatCatcher Statistics |
Select this check box to collect log data at the component |
|
Enable parallel execution |
Select this check box to perform high-speed data processing, by treating multiple data flows
simultaneously. Note that this feature depends on the database or the application ability to handle multiple inserts in parallel as well as the number of CPU affected. In the Number of parallel executions field, either:
Note that when parallel execution is enabled, it is not possible to use global variables to
|
Global Variables
|
Global Variables |
NB_LINE: the number of rows processed. This is an After
NB_LINE_UPDATED: the number of rows updated. This is an
NB_LINE_INSERTED: the number of rows inserted. This is an
NB_LINE_DELETED: the number of rows deleted. This is an
NB_LINE_REJECTED: the number of rows rejected. This is an
ERROR_MESSAGE: the error message generated by the A Flow variable functions during the execution of a component while an After variable To fill up a field or expression with a variable, press Ctrl + For further information about variables, see |
Usage
|
Usage rule |
This component offers the flexibility benefit of the DB query and This component must be used as an output component. It allows you |
| Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |
Related scenarios
For scenarios in which tSasOutput might be used,
see: