The Field Specification section of a script contains any Commands that alter field attributes, define variables, set date formats, initialize target field values, etc. The following commands are included in the Field Specification section.
- DECLARE – defines a Global variable accessible in to all Procedures, user defined Functions and the Main Processing Section.
- EXTTYPE – specifies the format of the data found in a field. For example, EXTTYPE can be used to specify that the numbers found in a numeric field represent dates.
- INITIALIZE – initializes a target field to a constant value.
- INVALID – sets the default value to use when invalid data is found in a source field.
- LABEL – assigns a label to an XML field. This label is used in the XML tags for that field.
- RETYPE – redefines the attribute of a source field (i.e. numeric to character).