You use the Export-Import Data template to export data from, or import data into, a location in the database outline. If you export a binary file, you can also import it using the Export Data template.
To use the Export-Import Data template in a business rule:
In the Export-Import Data Template Wizard, on Mode, specify whether to export or import data. Click Next.
On Export data range do one of these three tasks to specify the range of data to export. Click Next.
Select a predefined selection from Use Predefined Selection to populate the dimensions listed with values.
Click the Member Selector icon to select a member or function for each of the dimensions listed.
Select a dimension in the list, and click the Actions icon to select a member, variable, or function. See Using Member Selection, Variables, Functions, and (for Planning Users Only) Smart Lists to Design Components.
On Export Data Range, select the type of file to which to export the data, then click Next.
Flat file
Database table
Binary file
Note: | If you want to import the file after you export it, the file must be a binary file. |
On Output - File, do one of these, depending on the file type to which you are exporting, then click Next.
If you are exporting to a flat file:
Enter the file name and path surrounded by double quotes.
Select a column delimiter.
Optional: Enter a text string, surrounded by double quotes, to denote missing data values, or use the Actions icon to select one.
If you are exporting to a database table:
Enter the data source name surrounded by double quotes.
Enter the data source table name surrounded by double quotes.
Enter the data source logon name and password surrounded by double quotes.
If you are exporting to a binary file, enter the file name and path surrounded by double quotes.
Specify whether data should be exported in columnar or non-columnar format.
Specify the number of decimal places to be exported. (Sixteen is the maximum.)
Specify the number of positions the data should have after it is exported. (Sixteen is the default.)
Specify whether to include a header row at the beginning of the exported file.
Select the dimension to be used as the column header around which other data is organized.
Specify whether to format the exported file so it can be imported into a relational database.
Specify whether to overwrite a file with the same location and name as the file to be exported, if one exists.
Specify whether to export the data or perform a test that runs the export commands without exporting the data.