$E2A: Difference between revisions
(Automatically generated page update) |
m (→Usage notes: add link) |
||
Line 20: | Line 20: | ||
==Usage notes== | ==Usage notes== | ||
The inverse of <var>$E2A</var> is [[$A2E]]. | <ul> | ||
<li>The inverse of <var>$E2A</var> is <var>[[$A2E]]</var>. </li> | |||
$E2A uses the " | <li><var>$E2A</var> uses the Janus "STANDARD" ASCII-to-EBCDIC translation tables, and it provides no mechanism for overriding these tables. However, as described in [[Translate tables|translation tables]], you are able to modify the STANDARD tables if necessary. </li> | ||
</ul> | |||
==Products authorizing {{PAGENAMEE}}== | ==Products authorizing {{PAGENAMEE}}== |
Revision as of 23:10, 11 January 2018
Translate EBCDIC to ASCII
Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $E2A function is EbcdicToAscii. For a full list of string and numeric conversion functions see List of String methods and List of Float methods.
The $E2A function returns a string which is the ASCII equivalent of the (presumed) EBCDIC input string. $E2A is longString capable, that is, it can receive an input longstring and will produce an output longstring.
$E2A accepts one required argument and returns a string value.
The first argument is the string to be translated from EBCDIC to ASCII.
The returned result is a string which is the ASCII equivalent of the (presumed) EBCDIC input string.
Syntax
%ascii = $E2A(ebcdic_val)
%ascii is set to the EBCDIC-to-ASCII translation of ebcdic_val.
Usage notes
- The inverse of $E2A is $A2E.
- $E2A uses the Janus "STANDARD" ASCII-to-EBCDIC translation tables, and it provides no mechanism for overriding these tables. However, as described in translation tables, you are able to modify the STANDARD tables if necessary.