Use the Data export with ODBC to file (VWPEXPT2) Data Warehouse Center program to select data in a table that is contained in a database registered in ODBC, and write the data to a delimited file.
To define a Data export with ODBC to file program step:
Specify information for your step:
In the Name field, you can type a new name for the step. Otherwise, you can keep the name that the Data Warehouse Center automatically supplied for the step. This field is required.
In the Administrator field, type the name of the person who is responsible for the maintenance of this step. This field is optional.
In the Description field, type a business description for your step. This description can be a maximum of 255 characters. This field is optional.
In the Notes field, type detailed information that might be helpful to users who can access this step. This field is optional.
On the Parameters page, in the Column delimiter field, click or type the character that you want to use as a column delimiter.
Create or generate SQL:
If you want to use SQL Assist to generate a SELECT statement, click Build SQL. SQL Assist is launched. After you finish using SQL Assist, the newly generated SQL is displayed in the SELECT statement field.
If you want to create SQL manually, or you want to edit SQL that is generated by SQL Assist, click Edit. The SELECT Statement field is available. SQL Assist is no longer available.
Optional: If you want to erase the text in the SELECT statement field, click Clear. If you want to create new SQL, you must click Edit again.
Optional: When you finish generating or editing your SQL, click Test to test the SQL query. The Data Warehouse Center returns sample results of your query.
On the Processing Options page, in the Agent Site list, select an agent site where you want your step to run. The selections in this list are agent sites that are common to the source tables, the target table, and the transformer or program that you are defining.
If you want to have the option to to run your step at any time, select the Run on demand checkbox. Your step must be in test or production mode before you can run it.
Optional: Select the Populate externally check box if the step is populated externally, meaning that it is invoked in some way other than by the Data Warehouse Center. The step does not have to have any other means of running in the Data Warehouse Center in order to change the mode to production.
If Populate externally is not selected, then the step must either have a schedule, be linked to a transient table that is input to another step, or be started by another program in order to change the mode to production.
In the Retry area, specify how many times you want the step to run again if it needs to be retried and the amount of time that you want to pass before the next run of the step.
Click OK to save your changes and close the step notebook.
Related information