Integration Server 10.3 | Flat File Schema Developer's Guide | Working with Elements in Flat File Schemas and Dictionaries | Floating Records | Examples: Parsing Outbound Floating Records
 
Examples: Parsing Outbound Floating Records
When the pub.flatFile:convertToString service converts an IS document (an IData object) to a string, the parser places each floating record immediately following its parent record (as defined in the IS document).
In the following examples, assume that the Floating Record property is set to the record NTE.
Example 1:
Flat file schema definition
Input IS document
Output string
Rec1
Rec2
NTE []
Rec3
Rec4
Rec1
Rec2
Rec3
NTE []
NTE(1)
NTE(2)
Rec4
Rec1!Rec2!Rec3!NTE(1)!NTE(2)!Rec4
Because NTE(1) and NTE(2) are children of Rec3, the parser places them after Rec3 in the string.
Example 2:
Flat file schema definition
Input IS document
Output string
Rec1
Rec2
NTE []
Rec3
Rec4
Rec1
Rec2
Rec3
Rec4
NTE []
NTE(1)
NTE(2)
Rec1!NTE(1)!NTE(2)!Rec2!Rec3!Rec4
Because NTE(1) and NTE(2) are children of Rec1, the parser places them after Rec1 in the string.