# WebMethods Flat File Schema

**URL:** <https://techcommunity.softwareag.com/t/webmethods-flat-file-schema/107877>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [April 21, 2003, 11:26pm UTC](https://techcommunity.softwareag.com/t/webmethods-flat-file-schema/107877 "2003-04-21T23:26:17Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [April 21, 2003, 11:26pm UTC](https://techcommunity.softwareag.com/t/webmethods-flat-file-schema/107877/1 "2003-04-21T23:26:17Z")

</div>

How does one parse multiple “documents” using the Flat File functionality in webMethods 6?

For instance, I have created a Flat File Schema/Dictionary to parse the following flat file

Header,ABC Chemicals,01/01/2003  
Line,1,Item 1,200,200  
Line,2,Item 2,200,200  
Line,2,Item 3,200,200

How do I modify this to parse repeat structures? something like and generate seperate “Documents”?

Header,ABC Chemicals,01/01/2003  
Line,1,Item 1,200,200  
Line,2,Item 2,200,200  
Line,2,Item 3,200,200  
Header,ABC Chemicals,01/01/2003  
Line,1,Item 1,200,200  
Line,2,Item 2,200,200  
Line,2,Item 3,200,200

Thanks

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [April 22, 2003, 5:46pm UTC](https://techcommunity.softwareag.com/t/webmethods-flat-file-schema/107877/2 "2003-04-22T17:46:12Z")

</div>

I’m struggling to bend the flat file adapter to my will myself…

Perhaps creating a record including a subrecord could do the trick for you? I mean, a Header record which includes a Line record, using your example. I haven’t tried this myself, but I know it is possible to add records instead of fields to a given record when making the schema. Please tell how it goes.

---

<div class="post-metadata">

**Author:** ![Guest](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/guest/32/75_2.png) [@Guest](https://techcommunity.softwareag.com/u/Guest)\
**Post date:** [April 22, 2003, 6:47pm UTC](https://techcommunity.softwareag.com/t/webmethods-flat-file-schema/107877/3 "2003-04-22T18:47:53Z")

</div>

Thanks for the tip. That indeed did the trick. I now have the LINE record as a child to the HEADER record. The convertToValues does the job of providing an array of HEADER records which can be looped to get individual Orders.

Basically, I am doing this excercise to understand the overall migration process of an integration based on webMethods Enterprise+Enterprise IO Adapter to webMethods 6. (BTW, is there any tools/utilities available to assist this whole process?)

Another quick follow-up question, what is needed to be done to get the “resubmit capability” which was provided by webMethods Integration Monitor+Logger Adapter? Would the webMethods Business Process tools (aka Modeler) be involved or could it be done within the webMethods 6 (aka Integration Server) itself?

Thanks

Thanks again.

---

<div class="post-metadata">

**Author:** ![reamon](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@reamon](https://techcommunity.softwareag.com/u/reamon)\
**Post date:** [April 22, 2003, 9:03pm UTC](https://techcommunity.softwareag.com/t/webmethods-flat-file-schema/107877/4 "2003-04-22T21:03:58Z")

</div>

The Trading Networks package more or less provides functionality equivalent to Monitor and Logger.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:04pm UTC](https://techcommunity.softwareag.com/t/webmethods-flat-file-schema/107877/5 "2021-04-02T15:04:57Z")

</div>


