|
I am moving data from the AS/400 directly to our web page. I gotta tell you, it blows my mind. But I am using tcp/ip, not Client Access or ODBC. I am using a couple of ways: one is to FTP the file directly to a server, and using code page 437. That works for pure text, but it does drop trailing blanks. To take care of numbers and so forth I am making an output file on the AS/400 and am program-describing it. That way, all the numbers go as formatted text, with edit codes, so the numbers have decimals, minus signs, etc. The other way I've used is to do a CPY from the AS/400 to the AS/400's IFS system. CPY is not CPYF so far as I can see, and it has some advantages. It makes a Streamfile on the IFS, and it allows the records to travel as full length records, keeping trailing blanks. Then, FTPing from the IFS is a piece of cake. -- ----------------------------------------------------------- boothm@ibm.net ----------------------------------------------------------- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@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.