Subscribe to keep this site alive! Under new management but as always, still 100% FREE. Anyone with the IBM i is a friend of ours.
The Challenge: How do I parse an EDI file without going through the software?
The Solution: Given that the ISA segment is fixed, finding it will easily locate the segment separator. Then, find the next segment separator to know the extent of the next segment until you reach IEA. This is dones by bringing the EDI file/document/communication session to a stream file in the IFS then an RPG program reads through it.
Click on link below and request code package: OFFLINE PARSER
Thinking of a new CHALLENGE? Let us know HERE.