× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: ODBC over TCP/IP
  • From: Peter Coffin <phcoffin@xxxxxxxxxx>
  • Date: Fri, 26 Sep 1997 13:24:09 -0400

>  I was about to ask almost exactly the same question, only differently:
> Can I FTP an AS/400's regular data file to an IP address and have the PC at
> that IP address receive the file as ASCII text?  Or, can I FTP to the AS/400
> from a PC session and get AS/400 data files as ASCII text?

The answer to both is yes, with qualifications. Database files transfered
out of the AS/400 can be transfered in mode ASCII, and the AS/400 ftp server
(or client) will convert EBCDIC to ASCII automatically, and this is the
default transfer mode. The catch is packed decimal fields don't convert, and
end up being binary data in the middle of your otherwise text record. You
may want to run an extract over the file first to convert the decimal fields
to character. (It won't matter to the PC.) Zoned Decimal aren't a problem.

You can even transfer PC files directly into existing database files,
replacing or adding members, or adding records to members, as long as the
formatting of the lines in the PC file matches the file layout in the
database file.

Peter H. Coffin
phcoffin@us.ibm.com
+---
| 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 MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.