Keep in mind that UNPK swaps bits 0-3 of the right byte with bits 4-7.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List <[email protected]> on behalf of Keven <[email protected]> Sent: Wednesday, April 11, 2018 4:15 PM To: [email protected] Subject: Re: SDWA - SDWACMPC conversion Good point; I should have stuck with HEXTBL-240 but I decided last minute that hexadecimal notation would make for a better aesthetic and for some reason X’C0’ stepped forward instead of the apposite value. Using the UNPK/OI does mean no reading past the last byte of the value to be converted which may be desirable for a generalized implementation. Keven On Fri, Apr 6, 2018 at 9:22 AM -0500, "J R" <[email protected]> wrote: As you're concerned with robustness, it might be better to address the translate table thus: TR ZONED,HEXTBL-X'F0' X'C1C2C3' > On Apr 5, 2018, at 18:29, Keven wrote: > > TR ZONED,HEXTBL-X'C0' X'C1C2C3'
