How to: Reference: |
In Developer Studio, you can upload (import) external data files for use in WebFOCUS reporting tools. This functionality enables you to easily create a WebFOCUS file description and data file for use in your reporting application. The Upload Data File option is available from the Master Files folder while developing in the Projects or Data Servers areas.
The first page of the Upload Data File dialog box opens displaying three sections that require you to make a selection:
A Choose file dialog box opens.
The following image shows the first page of the Upload Data File dialog box.
Use this option if your data file does not contain field names in the first row. Each data column will be assigned a field name which can then be customized, as described below.
Use this option if your data file contains field names in the first row. Please note in this case the first row will not be included in the uploaded data file. Instead, the Upload File Utility will extract the first row to assign as field names in the Master File created during the upload process. Field names can be customized, as described below.
The second page of the Upload Data File dialog box, as shown in the following image, appears for you to review and customize the file conversion options.
The default format for numeric fields is Double D12.2. For all other fields, the default format is Alphanumeric A50. During reporting, to ensure that you see all records and in the correct format, adjust the field type and format based on your input data file. Base the maximum value for Format on the maximum length of the fields in your input file.
If you change any of the attributes for a field, click the Apply button to apply the changes and refresh the data.
As of 7703, a new data type supports Alpha Variable (AnV) data types. The maximum length is 4093 characters and the default display value is 256.
Note: When you are selecting a format for Alphanumeric data types, it may take a few seconds for the Format drop-down list to appear.
Three files are created in the selected Reporting Server Application:
This file contains the data from the input file in a tab-delimited format.
Note: If a file with the same file name already exists, a dialog box is displayed prompting you to allow file replacement.
WebFOCUS |