Common Applications - Converting EBCDIC Text to ASCII Text

Mainframes often use a 256-bit character set called EBCDIC rather than the 128-bit ASCII character set most often used on Windows, Mac and Unix platforms. MOVEit Central can be used to convert text files from ASCII to EBCDIC or from EBCDIC to ASCII using the "CommandLineApp" built-in script and a command-line utility called "ebc2asc".

To convert EBCDIC text files to ASCII (or ASCII to EBCDIC) using MOVEit Central:

  1. Sign on to the MOVEit support site and download "ebc2asc.exe" from the "Distribution / MOVEit / Central / Extras" folder into your "C:\Program Files\MOVEit" folder (or other appropriate local folder).
    null.gif (807 bytes)
  2. Set up a file transfer task (one source and one destination) to download and save our original text file without converting it. If your source is a mainframe accessible via FTP, you may need to specify "BINARY" mode and you may also need to specify additional "QUOTE" commands to complete the transfer.
    null.gif (807 bytes)
  3. Once you have the basic file transfer task working, add a "Command Line App" built-in process.
    null.gif (807 bytes)
  4. Configure "Command Line App" with the following parameters:
  5. Save these parameters and test. When checked, EBCDIC files should be unreadable using Notepad.exe, but ASCII files should be readable using Notepad.exe.

Sample Task - ASCII to EBCDIC

This task loads a local ASCII file (output from a defrag check) and converts it to an EBCDIC file.

E2A01.png (2897 bytes)

These are the CommandLineApp parameters. Notice the "-a" argument.

E2A02.png (1600 bytes)

Sample Task - EBCDIC to ASCII

This task loads a local EBCDIC file (the EBCDIC file created in the previous step) and converts it back to an ASCII file.

A2E01.png (2919 bytes)

These are the CommandLineApp parameters. Notice there is no "-a" argument.

A2E02.png (1613 bytes)