Hi,
Thank your for the answers, but I would also like to hear your opinion on
this:
I have been making EDIFACT solutions for about 20 years now and what I hear
more and
more often is “can’t you give us an XML format instead?”. Besides that I
also experience
that EDIFACT is hard to handle in typical small shops and requires heavy
investment
in tools and education.
I know there are several XML/EDIFACT standards out there, but most standards
is either
very big, very hard to understand and/or requires extensive mapping.
Also my customers i reluctant to introduce another format in their B2B
communication
because of the expense.
So I have created a lightweight XML format X/EDIFACT that requires
· * Minimal change of existing documentation (by inserting XID’s)
· * No mapping, converts any EDIFACT version from/to XML
automatically
· * No programming in existing EDIFACT environments.
· * VAN is not necessarily needed, communication between partners
can be FTP or WEB services
· * One tool at 595USD
Since ASC X12 is very technical similar to EDIFACT I could do the same tools
to this format.
The X/EDIFACT format is simple, and is built on a segment(S) having an id
(like NAD) in EDIFACT
a group no.(G) and a field no.(F) within the group so the XML XID is
constructed by SSSG_F so
the second field in the third group in a NAD segment will have a XID =
NAD3_2 and in
XML will be <NAD3_2>value</NAD3_2>
The X/EDIFACT tool is built on top of powerEXT Core that are FREE software
and programming
It in RPGLE is simple:
setContent('*none');
xmlFromStmf('/a_X_EDIFACT.xml');
ediFromXml(xmlAddr:xmlSize);
echoToStmf('/a_X_EDIFACT.edi':1208);
References:
The overall program scenario:
http://www.powerEXT.com/X_EDIFACT.png<
http://www.powerext.com/X_EDIFACT.png>
The mix of XID and documentation
http://www.powerEXT.com/X_EDIFACT.xml<
http://www.powerext.com/X_EDIFACT.xml>
A sample EDIFACT file
http://www.powerEXT.com/X_EDIFACTorigin.txt<
http://www.powerext.com/X_EDIFACTorigin.txt>
Converted to a minimalized format
http://www.powerEXT.com/a_X_EDIFACT.xml<
http://www.powerext.com/a_X_EDIFACT.xml>
Converted to a maximized documentation format
http://www.powerEXT.com/a_X_EDIFACTmax.xml<
http://www.powerext.com/a_X_EDIFACTmax.xml>
X/EDIFACT converted back
http://www.powerEXT.com/a_X_EDIFACT.txt<
http://www.powerext.com/a_X_EDIFACT.txt>
Regards
Henrik
On Tue, Oct 18, 2011 at 3:29 PM, Charles Wilt <charles.wilt@xxxxxxxxx>wrote:
EDIFACT is also used in the US..
But I assume you're asking about ASC X12...
http://www.x12.org/
HTH,
Charles
On Tue, Oct 18, 2011 at 9:12 AM, Henrik Rützou <hr@xxxxxxxxxxxx> wrote:
and where do I find documentation and examples?
/Henrik
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.