In this example, I will explain how to process FlatFiles to DB
What is a Flat File?
Flat files present complex hierarchical structural data in a record–based storage format. Unlike XML, flat files do not embed structural data (metadata) within the data. The data in the flat file has been “flattened” by removing the hierarchical relationship between records, leaving the records intact as a single logical record of application data.
All flat files consist of a list of records containing fields and composites:
- Fields are atomic pieces of data (for example, ID and ID qualifier, Date and time).
- Composites contain multiple fields (for example, ID and ID qualifier, Date and time). The fields within a composite are referred to as subfields.
- Records (also known as segments) are sequences of fields and/or composites.
Flat file Schema:
A flat file schema is a blueprint that contains the instructions for parsing or creating a flat-file. The schema exists as a namespace element in the webMethods Integration Server. This blueprint details the structure of the document, including delimiters, records, and repeated record structures.
No comments:
Post a Comment