Posted: Fri Apr 01, 2005 7:21 am Post subject: how to split and append edi file into 100 chars and a line
Newbie
Joined: 01 Apr 2005 Posts: 1
Can any one help me how can we split a edi file into a file with 100 characters per line and back to continous file from 100 chars lines.
Thanks in advance.
msrao
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
I'm guessing that you need to walk through your edi file and write out 100 byte increments with MQPUT. On the receiving end, you would loop through MQGETs getting the 100 bytes and adding them to the end of your buffer.
You might also want to look into message grouping so that you send the whole set of messages as a group.
Posted: Fri Apr 01, 2005 1:57 pm Post subject: Re: how to split and append edi file into 100 chars and a li
Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
msrao wrote:
Can any one help me how can we split a edi file into a file with 100 characters per line and back to continous file from 100 chars lines.
Thanks in advance.
msrao
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum