Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
XLATE—Translate to and from ASCII (BSAM and QSAM) z/OS DFSMS Macro Instructions for Data Sets SC23-6852-02 |
||||||||||||
The XLATE macro is used to convert the data in an area in virtual storage from ASCII code to EBCDIC code or from EBCDIC code to ASCII code. Refer to z/OS DFSMS Using Data Sets, for the ASCII to EBCDIC and EBCDIC to ASCII conversion codes. When converting EBCDIC code to ASCII code, all EBCDIC code not having an ASCII equivalent is converted to X'1A'. When converting ASCII code to EBCDIC code, all ASCII code not having an EBCDIC equivalent is converted to X'3F'. Bit 0 is always set to 0 during EBCDIC to ASCII conversion and is expected to be 0 during ASCII to EBCDIC conversion. The XLATE macro may be issued in 24- or 31-bit addressing mode. When issued in 31-bit addressing mode, all addresses must be valid 31-bit addresses. The format of the XLATE macro is:
The return codes are shown in Table 1.
|
Copyright IBM Corporation 1990, 2014
|