Write Schema Configuration Reference

A write schema has some attributes, you can check the following table for the attributes and corresponding description.

Attributes in the Writer Delimited Business Object

Attribute Name Description
Name Displays the name of the file record as given in the wire schema by default. You can modify it when necessary. File record names have alphanumeric characters only and 80 characters at most. Each name is unique within the adapter.
Position From Header This field is available only for records that are defined as immediate child record of the root record. Select Begin or End based on the structure of the actual records in the data file.
Wire Schema Path The wire schema that is used to create this write schema.
Parse Specifies whether the generated output line uses a delimiter to separate fields or whether it uses absolute line positions. Delimited and Positional are the available choices.
  • Delimited

    Select the choices specified in the Delimiter configuration item to separate fields within each generated output line.

  • Positional

    Use the line position to separate fields. That is, each field begins at a fixed position (offset from the start of the line).

Delimiter Specifies the separator between fields within each line of a file for the line that is processed. Space, Tab and Other are available choices. If you select Other, the Delimiter Other field becomes available.
Delimiter Other This field is available only if you select Other in the Delimiter list. Specifies the delimiter to be used. You can specify single or multiple characters as a delimiter.
Write Schema Type Classic and Manual are the two available types. A value is set when you create the write schema.

Attributes for Write Schema

Field Description
Name The attribute name of the object from the incoming message. The value of this field is populated automatically when generating the WireSchema for WriteSchema(Classic).
Type The data type of the attribute. The value of this field is populated automatically when generating WireSchema for WriteSchema(Classic).

If the dateTime type is used, you must specify the pattern and locale: right-click the field name and select Set locale and pattern, and then select a supported locale and pattern from the list.

Note: The record type is not displayed for WriteSchema(Classic) after generating the write schema from the wire schema.
Width The number of characters used to represent the field. Zero (0) signifies that the field is not included in the output line. Negative one (-1) signifies that as many characters as needed (without padding) are used (this is the default value for lines that use delimiters. Lines using the Positional method cannot specify -1).
Alignment Specifies whether the data is aligned to the left or the right.
Padding The character added to this field pads the field to the specified width.
Sign For numeric fields only, used to add a prefix to the positive sign before positive numbers in the output. If you want to display the sign in the output, set it to True; otherwise, set it to False.
Precision Specifies the number of digits after the decimal place.
For example, with a precision of 3, the number 3.14159 is displayed as follows:
  • Scientific notation: 3.142e+1
  • Non-scientific notation: 3.142

A value of -1 indicates that the entire precision provided by the operating system is used.

Sc. Notation For real numbers only, used to determine whether scientific notation is used for the output of this field. To use the scientific notation, set it to True.
Upper Case Valid only when the Sc. Notation is set to True. When this field is set to True, the E in the scientific notation is in uppercase. When this field is set to False, the e in the scientific notation is in lowercase.