On Fri, Dec 9, 2011 at 9:44 AM, Dougie Lawson <[email protected]> wrote:

>>> :>And MVC INOUTBUF,=CL(L'INOUTBUF)='Test record' would have worked as
>>> :>well.

> Hey, that's a neat trick. I wish the folks who taught me assembler
> back in 1981 had shown me that one. But for some odd reason they were
> against using literals in ANY way shape or form. We were taught to
> write all items in static storage with a label.

Yes, very neat trick. It helps to avoid redundant constants in the
code.Since I try such things immediately, I guess Martin does not use
it as often as he should (the second "=" should not be there... )

Rob

PS I recently used something like   IC R0,=C'0123456789ABCDEF'(R1)
and was pleased to see that it actually works...

Reply via email to