Looks to me that your EDI file should not have any CR or LF chars at all.
ISA00 00 ZZMMS00000012345 140014567313 030417153
6U004010001180000P|^
GSPTMMS0000005160200602679313200304171536118100X004010^
The segment delimiter appears to be ^. The end result you want is to get a readable block that appears to be one long line. This is the correct format. Not easily human-readable but that’s the way EDI files generally work. To get human-readable you could use 0x0a as the segment delimiter which wraps the segments nicely.
Many translators support having EOL chars after the segment delimiters, such as LF, CR or CR/LF. The WmEDI package supports this too. However, it is not really “official” EDI–it’s a de facto practice.
For the EBCDIC to ASCII translation. I’m not a mainframer but you should be able to do the translation without also causing the 80-byte recl. If not, it’s not terribly difficult to do the E-to-A translation on the PC side.
Just some thoughts. HTH.
#Integration-Server-and-ESB#webMethods#edi