Positional Input Schema
The positional input schema has some attributes, you can check the following table for the attributes and the corresponding description:
Attribute Name | Description |
---|---|
Name | The file record names have alphanumeric characters only. Each name is unique within the plug-in configuration. |
Description | (Optional) A short description for the positional file record. |
Strip Blanks | Select this check box to remove the blank spaces for each field identified for the record in data file. |
Identifier Type | Specifies the method to identify a record.
Field Value (constant field value) and
Record Length are available options.
When the Identifier Type field is set to Field Value, the constant attribute for one of the fields is specified when defining the fields for the records. If the constant field matches but the count exceeds the expected field count, then line is parsed successfully and a warning message is displayed: The line {0} has been mapped with class {1}, extra fields of the input line has been discarded in Output XML. For example, an input schema defines a record to contain three String fields with the first field containing a constant string "Order". A record, such as "Order,ID1234,Aug20" is accepted by parser activity. However, a record with a valid constant 'Order" but contains four fields, such as "Order,ID1234,Aug20,CA" is parsed successfully but "CA" will not be a part of the output XML. The following warning message is displayed: The line [Order,ID1234,Aug20,CA] has been mapped with class [Order], extra fields of the input line has been discarded in Output XML |
Length | This field is available only if you have selected Record Length in the Identifier Type field. |