IBM DB2 Non-Spatial Reader Parameters
Database Connection
This is the data source name similar to an ODBC data source name. When you enter the Database in the Input Dataset field, the Database field will be automatically populated in the Parameters box.
Enter the username and password to access the database, user account, or wherever authentication is required.
Constraints
After you have completely specified the database connection, click the Browse button to select tables to import. A connection window appears while the system reads a table from the database.
Once the table list appears, you can select one or more tables, and then click OK to dismiss the window. The table name(s) will appear in the table list field in the Reader Parameters box.
An SQL WHERE clause can be applied to each table’s columns, to constrain the attributes of the layers selected in the layer list (for example, NUMLANES=2).
Schema Attributes
Use this parameter to expose Format Attributes in Workbench when you create a workspace:
- In a dynamic scenario, it means these attributes can be passed to the output dataset at runtime.
- In a non-dynamic scenario where you have multiple feature types, it is convenient to expose additional attributes from one parameter. For example, if you have ten feature types and want to expose the same attribute in each one, it is easier to define it once than it is to set each feature type individually in the workspace.