tSasInput
Executes a DB query with a strictly defined statement which must correspond to the
schema definition.
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.
tSasInput reads a database and
extracts fields based on a query. Then it passes on the field list to the component that
follows via a Row > Main connection.
tSasInput Standard properties
These properties are used to configure tSasInput running in the Standard Job framework.
The Standard
tSasInput component belongs to the Databases family.
The component in this framework is generally available.
Basic settings
|
Property type |
Either Built-in or |
|
|
Built-in: No property data stored |
|
|
Repository: Select the repository |
|
|
Click this icon to open a database connection wizard and store the For more information about setting up and storing database |
|
Host name |
SAS server IP address. |
|
Port |
Listening port number of server. |
|
Librefs |
Enter the directory name that holds the table to read followed by “TpSas ‘C:/SAS/TpSas'” |
|
Username and |
DB user authentication data. To enter the password, click the […] button next to the |
|
Schema and Edit |
A schema is a row description. It defines the number of fields (columns) to This component offers the This dynamic schema |
|
|
Built-in: The schema is created |
|
|
Repository: The schema already |
|
Click Edit schema to make changes to the schema.
|
|
|
Table Name |
Enter the name of the table to read preceded by the directory name |
|
Query type |
The query can be Built-in
If using the dynamic schema feature, the SELECT |
|
Query |
If your query is not stored in the Repository, |
Advanced settings
|
tStatCatcher Statistics |
Select this check box to gather the job processing metadata at a |
Global Variables
|
Global Variables |
NB_LINE: the number of rows processed. This is an After
QUERY: the query statement being processed. This is a Flow
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 covers all possible SQL queries for databases using |
| Limitation |
Due to license incompatibility, one or more JARs required to use this component are not |