|
I have used the CPYFRMSTMF (Copy from Stream file) to do this. Copy the file into a directory in the IFS from your PC, create the file on the AS/400 with a 60 byte record length and then do the CPYFRMSTMF command. Be sure to specify ENDLINFMT(*FIXED) and it will do what you want. -- Larry Bolhuis | Arbor Solutions, Inc | Two rules to success in life: (616) 451-2500 | 1. Never tell people everything you know. lbolhui@ibm.net | Sannan Solberg wrote: > > I have a file on my PC that is simple text file but the vendor neglected to > put end-of-record markers at the end of each (60 char) record. Each field > in the record is fixed length and starting column, ie. no delimiters. I've > tried a few things such as uploading through a file description on the PC of > the physical, and it hated that there was no marker. I uploaded the file > into a document folder and tried CPYFRMPCD into 60 char flat physical (no > fields) and it didn't like that either. I even tried using the most recent > posts regarding CPYFRMINPF and didn't seem to get anywhere (it also didn't > lilke anything I gave it). Any ideas??? (TIA) I am avoiding having to > massage the file on the PC at all costs. > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.