Changes for page SplitFile
Last modified by Outhman Moustaghfir on 2024/08/09 17:37
<
>
edited by Outhman Moustaghfir
on 2024/08/09 17:32
on 2024/08/09 17:32
edited by Outhman Moustaghfir
on 2024/08/09 17:37
on 2024/08/09 17:37
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,5 @@ 1 += = 2 + 1 1 = SplitFile Connector Documentation = 2 2 3 3 == Overview == ... ... @@ -36,7 +36,7 @@ 36 36 * ((( 37 37 **optionChar : **Define the character used to separate lines in output file, default value is newLine char. 38 38 ))) 39 -* **included : :** Include specific lines from the output by defining them in the include attribute.41 +* **included :** Include specific lines from the output by defining them in the include attribute. 40 40 * **excluded:** Exclude specific lines from the output by defining them in the exclude attribute. 41 41 * **Position and Size:** Used to locate and define the include in the input file. 42 42 ... ... @@ -341,6 +341,7 @@ 341 341 342 342 === an example of an output file === 343 343 346 + 344 344 {{code language="xml"}} 345 345 UNA +.? ' 346 346 UNB+UNOD 3+5907613200009 14+5907808850002 14+240509 1553+11480134402++DESADV' ... ... @@ -383,4 +383,18 @@ 383 383 384 384 {{/code}} 385 385 389 +==== Other Examples : ==== 390 + 391 + 392 +{{code language="xml"}} 393 +<!-- Write a file for each type of segment --> 394 +<SplitBy mode="line" headers="UNA;UNB" footers="UNZ" excluded="UNA;UNB;UNZ" included="" size="3" position="1" endLine="'" optionChar="\r\n" /> 395 + 396 +<!-- Write a file for each type of record where the line identifier (Position 1 to 8) is different --> 397 +<SplitBy mode="line" size="8" position="1" /> <!-- The default endLine is the carriage return --> 398 + 399 +<!-- Write a file for each message starting with UNH with repeated envelope for each --> 400 +<SplitBy mode="message" identifier="UNH" headers="UNA;UNB" footers="UNZ" excluded="" included="" size="3" position="1" endLine="'" optionChar="\r\n" /> 401 +{{/code}} 402 + 386 386 === ===