>>Wouldn't this be simpler still?
>>
>>         MACRO
>>&LAB     MVC2  &TARGET,&SOURCE
>>         DS    0H
>>&LAB     DC    X'D2',AL1(L'SOURCE-1),S(&TARGET),S(&SOURCE)
>>         MEND
>
> This could run into the problem that the &SOURCE operand might not yet be
> in the symbol table at the time HLASM sees L'&SOURCE, which could cause an
> error.

Also, S(&SOURCE) gives an error if &SOURCE is a literal.

Reply via email to