# EDI 850 parsing

**URL:** <https://techcommunity.softwareag.com/t/edi-850-parsing/108816>\
**Category:** Forum\
**Tags:** EDI\
**Created:** [February 23, 2006, 10:02am UTC](https://techcommunity.softwareag.com/t/edi-850-parsing/108816 "2006-02-23T10:02:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pragalathan](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@Pragalathan](https://techcommunity.softwareag.com/u/Pragalathan)\
**Post date:** [February 23, 2006, 10:02am UTC](https://techcommunity.softwareag.com/t/edi-850-parsing/108816/1 "2006-02-23T10:02:10Z")

</div>

Hi,  
Im new to webMethods. Im facing a problem in parsing edi850 doc. I created schema & dictionary using SEFParse service. When i run the schema by giving the edi 850 data file, instead of 6 digits as date, its taking only 5 digits and saying the remaining as undefined.

is there anything wrong with the data file or with the schema. Please help me in this regard.

this is my data file

ISA_00 __00__ 01_888888888_01_111111111\*050224_1411_U_00400_000000985_0_P\*\>  
GS_PO_GIS141_00029425_20050224_1411_985_X_004010  
ST_850_0001  
BEG_00_SA_A123456\*\*19980507  
DTM_002_19980514  
N1_ST**9_1122334450000  
N2_ABC Co._Branch 1  
N3_1234 Maple Grove St.  
N4_Apple Grove_CA_98765  
PO1_1_6_EA\*5.74**BP_00054321876547  
DTM_002_19980522  
PO1_2_12_EA_8.7\*\*BP_00054321647437  
PO1_3_12_EA_10.75\*\*BP_00054321674310  
SE_12_0001  
GE_1_985  
IEA_1\*000000985

---

<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:** [February 23, 2006, 8:26pm UTC](https://techcommunity.softwareag.com/t/edi-850-parsing/108816/2 "2006-02-23T20:26:22Z")

</div>

Basically ISA09 element (yyMMdd date format) can accept only 5digits,this is per the Envelope/Schema rule.So please ignore the exception and continue with 5 digit date and so all the edi translators will accept this.

HTH,  
RMG

---

<div class="post-metadata">

**Author:** ![Pragalathan](https://avatars.discourse-cdn.com/v4/letter/p/85f322/32.png) [@Pragalathan](https://techcommunity.softwareag.com/u/Pragalathan)\
**Post date:** [February 23, 2006, 8:32pm UTC](https://techcommunity.softwareag.com/t/edi-850-parsing/108816/3 "2006-02-23T20:32:40Z")

</div>

hi rmg,  
Thanks a lot for ur timely help.

Pragalathan M.

---

<div class="post-metadata">

**Author:** ![Jim\_Plested](https://avatars.discourse-cdn.com/v4/letter/j/e480ec/32.png) [@Jim\_Plested](https://techcommunity.softwareag.com/u/Jim_Plested)\
**Post date:** [February 23, 2006, 10:52pm UTC](https://techcommunity.softwareag.com/t/edi-850-parsing/108816/4 "2006-02-23T22:52:23Z")

</div>

RMG  
I dont understand this statement. the ISA data is a min6 max6 element. it must be 6 char long.

---

<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:** [February 23, 2006, 11:13pm UTC](https://techcommunity.softwareag.com/t/edi-850-parsing/108816/5 "2006-02-23T23:13:34Z")

</div>

yes,it should take 6digits (yyMMdd),i was totally thinking differently.Thanks JM for correction,even i mentioned 6digits date format.

Pragalthan,please check your 850 schema,it should accept with 6 digits date as per standard of ISA09 element.Try parsing with convertToValues with your edi 850 it should parse correctly if schema allows the 6 chars.If not you have to correct the schema record.

HTH,  
RMG

---

<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/edi-850-parsing/108816/6 "2021-04-02T15:05:23Z")

</div>


