Use this activity to define an external file template header in the External Files toolkit.
A file template is always associated with an external file type and it defines how to handle the data associated with this file type. A complete file template definition consists of the following:
During installation some pre-defined system templates will be installed. These templates serves as default templates that can be used directly by the dedicated interfaces, more specifically by the
All pre-defined file templates are system defined and can only be partly modified by the end user, such as defining input and output file options. It is however easy to copy an existing template definition if it is required to create other file templates than the system defined ones.
A external file template is always associated with an external file type which means that at least one external file type must exist to be able to create a new file template. System defined external file types are defined during installation and these file types are normally sufficient since each file type is associated with one specific interface in a component.
If the purpose is to use the file template for files with separated value lines then external file separator definitions must be available.
When an external file template header has been defined then the following must be done to be able to use it:
- Template identity and description.
- File type that the template is associated with. Use LOV to see available file types.
- Define Line Type data, i.e. if the values on a file line are separated by a specific separator or not, the identity of this separator and if each value is enclosed by a specific character or string.
- Define data specific for Number Columns, such as decimal symbol and denominator.
- Define data format for date columns.
- Define if the template is an active template or not.
- File Template details
- Options for Input Files
- Options for Output Files
- File Template Control statements for input and/or output files.
- Check if the file template definitions are valid.