etoa

etoa converts files from the ASCII character set to the EBCDIC character set, or vice versa.

Syntax

etoa inputfile outputfile [AE|EA]

Parameter Description Default
inputfile The name of the input file. None
outputfile The name of the output file. None
[AE|EA] One of the following:
  • AE — Input file will be translated from ASCII to EBCDIC.
  • EA — Input file will be translated from EBCDIC to ASCII.
EA

Example

etoa input.ascii input.ebcdic AE

This will translate the file (input.ascii) to the output file (input.ebcdic) in EBCDIC format.