So the output record from the FTP is two bytes longer than it should be and this results in each logical record wrapping around, shifting two bytes each time.
What happens if you pre-allocate the output file with the correct record length? Matthew On Tue, 3 Mar 2015 12:27:15 -0600, Ron Thomas <[email protected]> wrote: >The 1'st bytes of the 2'nd record got appended to the last 2 bytes of the 1'st >record , similarly the first 4 bytes of the 3'rd got apended to the last 4 >bytes of the 2'nd record and this goes on. > >Sample data at the end > >000000 000000 60611L011 EI > 60611L011 EI B > 60611L011 EI BSC > >Thanks >Ron T > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
