The following fields are available to define the location, name, and contents of the exported data file:

  • SQL Server File Attributes example screen:

Fields

Description

Export Type

Method of exporting data from the table. The available options are dependent on the Destination connection that can be specified via the Properties page.

Destination Connection

Destination to the file system to which data will be exported. The destination connection can be specified on the Properties screen.

Export File Definition

FieldsDescription
Export File PathThe full path (absolute path) of the folder/directory where the File is to be created on the Windows or UNIX/Linux system.
Export File NameName of the Export File to which the data will be exported. The variable $SEQUENCE$ can be used to provide a unique sequence number for the export file. Also, the data/file components YYYY, MM, HH, MI, SS can be used when enclosed with the $ character. For example, an export file name might be budget_$YYYYMMDD$.txt which would result in a file name like budget_20150520.txt.
Export RoutineDatabase-specific routine to use to export the data.
Export File DelimiterCharacter that separates the fields within each record of the Export File for Delimited formats. The delimiter identifies the end of which field. Common field delimiters are tab, comma, colon, semi-colon, pipe. To enter a special character enter the uppercase string CHAR with the ASCII value in brackets (e.g. CHAR(9) ). This is only available if the Export Format is Delimited Text.
Optionally Enclosed byCharacter that brackets text fields within each record of the Export File for Delimited formats. A common example is ". This is only available if the Export Format is Delimited Text.
Header Row in ExportIf a header line is required, choose business names or column names from this drop-down list.
Export OptionsAllows the entry of export utility options. If more than one option is required, then a semi-colon should be used between options.

Trigger File

FieldsDescription
Trigger fileIf a trigger file is specified then this file is created after the export file. It will normally contain a row count and a checksum.
Trigger PathThe purpose of the trigger file is to indicate that the export to the main file has completed and that it is now safe to load the file. Secondly, the trigger file may contain control sums to validate the contents of the main load file. This field should contain the full path name to the directory in which a trigger file is to be generated on the destination system.
Trigger NameRefers to the name of the file that is to be created as a trigger file. A trigger file typically contains checksums (row count or the sum of a numeric column). The variable $SEQUENCE$ can be used to provide a unique sequence number for the trigger file. Also, the data/file components YYYY, MM, HH, MI, SS can be used when enclosed with the $ character. For example, a trigger file name might be budget_$YYYYMMDD$.txt which would result in a file name like budget_20150520.txt.
Trigger DelimiterMultiple fields in the trigger file are to be separated by the trigger delimiter.
Trigger Parameter 1,2,3

The checksums are to be put in the trigger file. One of the row counts and the sum of any numeric fields in the source data.


  • No labels