Loading data from a flat file into a DB2 UDB for AS/400 table, appending to existing data

Use the DB2 UDB for AS/400 Data Load Insert (VWPLOADI) program to load data from a flat file to a DB2 UDB for AS/400 table. The load operation appends new data to the end of existing data in the table.

Before you define this step, you must connect it to a warehouse source and a warehouse target. You can make changes to the step only when the step is in Development mode.

../byb.gif Authorities and privileges

To define a DB2 UDB for AS/400 load insert program:

  1. Open the step notebook.

  2. Specify information for your step:

  3. Click the Parameters tab.

  4. Optional: If you want to specify the delimiters of your load program, click Specify only the delimiters of the MODSTRING. Otherwise, the default entries in the Record, Column, Character strings, and Decimal point fields are used.

    Specify the delimiters for your load program:

  5. If you want to add parameters to the program, click Type Modstring parameters. Then, type your parameters in the field below this radio button.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. In the Log table list, select a log table.

  11. Optional: In the Trace level field, specify a trace level.

  12. Click OK to save your changes and close the step notebook.

Related information

Moving and transforming data

Population type descriptions

List of steps and step subtypes

Data Warehouse Center concepts