|
Mark, I think the list can learn too, so I forwarded this to the list. From: Mark Waterbury <mark.s.waterbury@worldnet.att.net> > Hi, Leif: > > >>>---> Private reply to you only...<---<<< > > 1. how did you upload the file from the PC to the 400, > using FTP? Did you use any "conversion" such as > ASCII-to-EBCDIC? A ctrl-z character can sometimes > be interpreted to mean "end-of-file" ... ==> FTP as binary > 3. why not upload it into the IFS, into an IFS directory, > and then use the IFS APIs to read the file? That way, > it is just a stream of bytes; no "eof" until the last byte! ;-) > ===> the data is all there in a database file member. > What kind of "stuff" is in this file, binary data, or characters? binary data > And, why did you pick 10000 bytes for the record length? > Why not 32766, the maximum allowed by OS/400 QSYS files? > It should work with any length, but the size is about 11,000 > I am happy to try to help, if I knew a little more about what you > are trying to do, and with what tools. > > For example, you might have better luck using ClientAccess > file transfer facilities, since they give you more control over the > whole process, and what kind of conversion, etc., than just plain > old FTP... ;-) > FTP worked fine, all the data is there > Let me know how you make out with this... > > I am pretty sure that Gene Gaunt has done some of this kind > of thing... perhaps you can send him a direct e-mail to ask him? >
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.