On Tue, 9 Sep 2014 01:49:52 +0200, Bernd Oppolzer wrote:
>
>The problem is not EBCDIC; you can do a transmission without code translation
>by FTP by using "binary"; the problem is the record oriented file structure of 
>the
>z system compared to the byte oriented paradigm of FTP (unix tool). This works 
>fine,
>
Not really.  You still lose record boundaries if RECFM=VB.

>if you do FTP between two z systems, but if there are other systems in between,
>you're in a real mess.
> 
The FTP standard provides a couple accommodations for this:

    STRU R and
    TYPE E; MODE B

both work, but they're generally unavailable on non-IBM systems.
Sometimes one can fool the IBM server from another client by:

    BINARY  # client thinks it's doing binary transfers.
    quote TYPE E
    quote MODE B  # z/OS server thinks it's transmitting in block mode.

This is not directly available with a non-IBM host, but one can do it
from IBM to IBM, then transmit in BINARY to non-IBM, then decipher
by reversing the process.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to