Thank you for all these great suggestions. My needs are very simple in only
having to translate two different 1-byte fields, so Bernd's solution worked
out to be the easiest and quickest to use.

I will be saving these other ones, and like the macro idea as well as a
quick print using DFSORT (Thanks Kolusu!). If I get some time one day, I
will play with these other options to make sure I know how to use them when
it is necessary.

Thanks again!
Billy

On Tue, Sep 13, 2016 at 8:41 AM, Steve Smith <sasd...@gmail.com> wrote:

> Bernd Oppolzer's answer is the best, although I'd prefer to define the
> fields so length overrides weren't needed:
> ONEBYTE DS XL2
> TWOBYTE DS CL3
>
> Not that I'd likely use it for small fields, but the TROT instruction is
> great at this.  It requires a 512-byte translate table though:
>
> TROTTAB DC C'000102030405060708090A0B0C0D0E0F'
>                DC C'101112...
>                 ...
>
> Rob Scott posted this with more detail on the Assembler List a while back.
>
> sas
>
> On Tue, Sep 13, 2016 at 7:55 AM, don isenstadt <don.isenst...@gmail.com>
> wrote:
>
> > I was interested in seeing a complete example.. here is one..
> > http://www.z390.org/contest/p3/P3MM1.TXT
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
>
>
> --
> sas
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>



-- 
Thank you and best regards,
*Billy Ashton*

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to