A2E
Performs ASCII to EBCDIC conversion during processing.
Syntax
A2E(string)
Arguments
Argument | Description | Default |
---|---|---|
string | The string to be converted. | None |
Results
Result | Description |
---|---|
Return | The converted string. |
%%RC | Always 0. |
%%RM | A null string (''). |
%%RV | Always 0. |
Examples
Function Call | Return | %%RC |
---|---|---|
A2E(%%number) where %%number is ASCII 012 (x'303132') and EBCDIC# is EBCDIC 012 (x'F0F1F2'). |
EBCDIC# | 0 |