Warehouse Target File notebook - Fields and controls

Warehouse Target File page

Fields page

Warehouse Target File page

Use this page to specify information about the target file.

File name

If you are using this file as an ODBC target, the following rules apply:

If this file is the target for a DB2 OLAP Server Data Warehouse Center program, for example, DB2 OLAP: Load data from a file with load rules (ESSDATA2), the following rules apply:

Certain Data Warehouse Center functions, such as data viewing, are not valid on server-based files that are defined as targets for DB2 OLAP Server programs.

If this file is the target for a program that originates outside of the Data Warehouse Center, you must provide the file name in one of the following formats:

The rules for specifying a target file name for a program that originates outside of the Data Warehouse Center will vary from program to program. See the documentation about the program to determine the format that the program requires.

Fields page

Use this page to specify the fields to be included in the flat file.

The Fields list contains one row for each field of data that was read from the file. If the First row contains column names check box is selected on the Parameters page, the first column of each row in the Fields list contains the names of the columns in the file as read by the system. If the check box on the Parameters page is not selected, the first column of each row contains system-generated column names. The subsequent columns in the list contain values that are read from the file.

The File preview area shows the actual data from the file. The number of columns in the preview area is determined by the number of columns of data in the file. The column headings are identical to the values in the first column of each row of the Fields list. You cannot edit the values in the File preview area.

Name

Data type

Length

Precision

Scale

Description

Name

Type a name for the column.

Data type

Select the data type for the column. The data type can be LONG VARCHAR or NUMERIC.

Length

Type the maximum length of the data for the column.

This field is only applicable for the LONG VARCHAR data type.

Precision

Select the data precision for the column.

This field is only applicable for the NUMERIC data type.

Scale

If the data type for the column supports precision, type the number of digits to the right of the decimal point.

Description

Type a short description for the column.

The description can be up to 200 characters long.