Hints

This Month's Topic

Creating a binary image of a z/OS (or z/VM) file on another platform

FTP with TYPE EBCDIC and MODE BLOCK can be used to create images of EBCDIC files on platforms which don't support these modes themselves.

To download the file:

ftp <i>ebcdic.host</i> ** Host prompts for userid and password type i ** Set binary mode for both hosts quote type e ** Switch EBCDIC host to type EBCDIC quote mode b ** and mode BLOCK get <i>ebcdic.file foreign.file.name</i> quit To put it back: ftp <i>ebcdic.host</i> ** Host prompts for userid and password type i ** Set binary mode for both hosts quote type e ** Switch EBCDIC host to type EBCDIC quote mode b ** and mode BLOCK put <i>foreign.file.name ebcdic.file</i> quit This method can also be used between z/OS & z/VM. The file created by this process, foreign.file.name in our example, can be sent in binary mode to other systems if necessary.

Feedback

Comments or suggestions can be sent to the author.

Last Month's Issue

Big Iron