I am trying to copy a PC text file and copy it in a wrapping format to an ISeries DB File with a single 128 length field. I am trying CPYFRMIMPF, CPYFRMPCD, CPYFRMSTRMF and they all seem to cut off part of the record. Can this be done short of counting characters in a record?
Software/Hardware used:
Windows, ISeries
ASKED:
October 8, 2009 7:45 PM
UPDATED:
October 9, 2009 10:50 PM
Maybe the simplest option is to use FTP. You can FTP on the same system from a streamfile into a flat file, and, IIRC, FTP will do that kind of wrapping. (I haven’t needed to disturb lines like that, so I haven’t actually seen such wrapping.)
Tom