[EDI-L Mailing List Archive Home] [Message List] [Reply To This Message]

How can I read 2 consecutive identical REF segments?

From: "edicoord2000" <edicoord2000@...>
Date: Mon Sep 22, 2003  3:13 pm
Subject: How can I read 2 consecutive identical REF segments?
Hi everyone!

I am facing the following problem: I have to map an inbound
transaction which MAY (optional requirement from the TP) contain 2
consecutive REF segments with an "L1" qualifier in order to pick-up
up to 160 characters of informative instructions in REF03.

As simple as it might look, I am totally unable to properly write the
second REF segment to my application file when it exists. I have
tried to use a transaction-wide accumulator to create some fake index
and check against it, but the first REF always get written to my file
in the second "note" field...

Would anyone have some trick / tip / technique to share in order to
achieve this task?

I am working on GENTRAN:Server 3.0 for AS/400.

Any help would be greatly appreciated.

Thanks in advance!



A disgruntled EDI Coordinator






 
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools Simplify EDI Data Integration with Stylus Studio XML Enterprise Suite - Free Download!
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.