× 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: AS400 (FTP --> UNIX)
  • From: Patrick Townsend <townsend@xxxxxxxxxxxxxx>
  • Date: Tue, 11 May 1999 14:31:53 -0700
  • Organization: Patrick Townsend & Associates, Inc.

Tim,

Nope! If you transfer it in binary mode it will be in EBCDIC and the
numerics will still be packed. Useless.

If you transfer it in ASCII mode the character data will be usable, but
numerics will be junk. No unpacking, etc.

You can:

Write RPG code to unpack the numerics, handle the signs, etc., then
transfer with FTP.

Or, download to a PC using Client Access (etc, etc) converting to fixed
ASCII, tab-delimited, CSV, etc. and then transfer to UNIX.

Or, fiddle around with CPYTOIMPF command to convert the file, then use
FTP to transfer to UNIX.

Or, use a third-party product to get all of this done. 

If the last option is of interest we have a product that does this (data
conversion, FTP automation, FTP security) called Alliance FTP Manager.
More information here: http://www.patownsend.com

Patrick

> Tim Truax wrote:
> 
> Hello all,
> If I FTP an AS400 file that contains some packed data to a UNIX
> machine, and I use the BINARY ftp command in my script, will it be
> converted or readable on the UNIX as packed or upacked?
> :-) Tim & Dana Truax ... and Caleb :-)
> http://members.xoom.com/truax

-- 
IBM AS/400 communications, FTP automation, and network security
software and consulting services.

http://www.patownsend.com
+---
| 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 thread ...

Replies:

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.