Tag Handling in Positional Records

Overview

Positional records can include a well-known sequence of characters, known as a tag, which can be used to disambiguate one type of record from another. This allows the flat file disassembler to properly identify the appropriate Record node in the schema that contains the information required to correctly parse the flat file record.

You can use the [Tag Identifier and Tag Offset properties together to specify the tag and its position within a positional record. Note that this allows the tag to occur anywhere within the positional record and that depending on your settings for the Positional Length and Positional Offset properties of the various fields within the record, the tag can be interpreted as part of data associated with one or more of these fields.

The Positional Offset property also allows you to treat the tag separately from the data in the record. For example, if the tag occurs at the beginning of the record and is four characters in length, you could set the value of the Positional Offset property of the first field in the record to four, thereby effectively skipping over the positional record tag when the value of the first field is translated in the equivalent XML format of the record.

More details on these properties in the UI guidance and developers API namespace reference.

See Also

Positional Record Considerations