# Schema question for a flat file parsing

**URL:** <https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [August 25, 2004, 8:53am UTC](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652 "2004-08-25T08:53:54Z")\
**Posts on this page:** 6\
**Page:** 2

<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 11, 2005, 7:15pm UTC](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652/21 "2005-04-11T19:15:26Z")

</div>

Hi RMG,

I expected first reply from you, and u did it!! Thanks for that.  
I thought of this solution, but here, problem is that childrec1 and childrec2 can occur any number of times in any sequence. So at runtime i wont be knowing, how many doc lists of rec1 and rec2 are there.  
Is there any setting in FF schema or convertToValues service, which can be helpful for me??

regards,  
naka

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [April 11, 2005, 7:33pm UTC](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652/22 "2005-04-11T19:33:30Z")

</div>

As far i know there is no setting like that in convertToValues,but there might be tricky way in Schema side or outofbox you may have to do some custom processing to build brand new doclists that you are expecting.

At this moment still thinking if any solution that we are missing.

Regards,

---

<div class="post-metadata">

**Author:** ![stepheny](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@stepheny](https://techcommunity.softwareag.com/u/stepheny)\
**Post date:** [June 20, 2007, 9:37pm UTC](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652/23 "2007-06-20T21:37:50Z")

</div>

Hi all  
I have an EDI Ansi X12 Document.  
I parse the file using EDIFFSchema. It gives EDIValues which contain the values in ST segment to SE. How do i extract the values in ISA and GS segment ? Is their anyways i can extract those values and put in a document form. Plz help me.

Thanks  
Stepheny

---

<div class="post-metadata">

**Author:** ![gupta\_r.17495](https://avatars.discourse-cdn.com/v4/letter/g/9fc348/32.png) [@gupta\_r.17495](https://techcommunity.softwareag.com/u/gupta_r.17495)\
**Post date:** [June 20, 2007, 9:59pm UTC](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652/24 "2007-06-20T21:59:19Z")

</div>

Stepheny,

You can use the envelopeProcess WmEDI service it gives output a Values document to extract ISA/GS segment data.just pass the edidata input to it.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![stepheny](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@stepheny](https://techcommunity.softwareag.com/u/stepheny)\
**Post date:** [June 20, 2007, 10:06pm UTC](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652/25 "2007-06-20T22:06:00Z")

</div>

Thank u sooooo much for ur instant reply…It worked…  
Thanx for ur support.

Stepheny

---

<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:05pm UTC](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652/26 "2021-04-02T15:05:19Z")

</div>



[Previous page](https://techcommunity.softwareag.com/t/schema-question-for-a-flat-file-parsing/108652.md?page=1)
