Ref:  Your note of Fri, 18 Jan 2013 14:58:20 -0800

Unless I've missed something, John Ehrman's method doesn't work
for intercepting an instruction, only for a macro, such as the
READ macro shown in the example.  For an instruction, you need
to save the built-in definition before you can replace it with
a macro.

Regards
Jonathan Scott
HLASM Development
IBM Hursley, UK

glen herrmannsfeldt <[email protected]> wrote:
> Jonathan Scott wrote:
> ...
> > DC_      OPSYN DC      Set up alias for original DC
> > DC       OPSYN MYDC    Redirect DC to my macro
>
> > Then within the macro you can use
> >          DC_   &whatever   Issue real DC
>
> But John Ehrman's method is neater, as it doesn't require a
> special OPSYN from the outside.
>
> Some one could directly call MYDC, or use OPSYN, either
> way it would work.

Reply via email to