A2E(1)
A2E(1) ZOAU Command Syntax A2E(1)
NAME
a2e - Convert file from ASCII to EBCDIC.
SYNOPSIS
a2e [-dFhv] [-f <code page>] [-t <code page>] <FILE>
-d
Run in debug mode.
-F
Force conversion regardless of file tag.
-f <code page>
Specify the current code page. Default is ISO8859-1.
-h
Print this syntax message.
-t <code page>
Specify the target code page. Default is IBM-1047.
-v
Run in verbose mode.
DESCRIPTION
a2e converts and tags a file on disk from an ASCII code page to an EBCDIC code page.
This command preserves file tags and timestamps, and issues
warnings if the file is already tagged as EBCDIC or binary.
When using -f or -t, the command accepts the code page name but
not the numeric identifier.
EXAMPLES
Convert a file that is tagged as ISO8859-1 to IBM-1047:
a2e /home/myfile
Convert a file that is tagged as ISO8859-2 to IBM-037:
a2e -f ISO8859-2 -t IBM-037 /home/myfile
Force the conversion of a file that is tagged as binary:
a2e -F /home/mybinaryfile
EXIT VALUES
0
Conversion was successful.
4
Invalid syntax.
8
Error in file parameter.
16
File is already tagged as the target code page.