On 2014-02-20, at 20:50, John Gilmore wrote:

> The appropriate distinction not bwteeen what may appear in macro and
> outside them.  It is that between the syntax of the macro language and
> 'vanilla' assembly language.  This is important because macro-language
> statements can appear outside macro definitions, i.e., in open code.
>
> The construct
>
> &txt      setc    'QVSIMGLOGICALPARTITIONNAME'
> &txtk     seta     k'QVSIMGLOGICALPARTITIONNAME
>
>            MVC    0(&txtk,R4),&txt
>
Can this not be done without typing the string twice?  I'd imagine:

>
> &txt      setc    'QVSIMGLOGICALPARTITIONNAME'
> &txtk     seta     k'&txt
>
>            MVC    0(&txtk,R4),&txt
or even:
>
> &txt      setc    'QVSIMGLOGICALPARTITIONNAME'
>
>            MVC    0(k'&txt,R4),&txt
> deals with this terrible problem.
>
> As usual, and not really excusably, we have here a lot of very bright
> people ignoring the chief glory of the HLASM, its macro language.

I suspect my punctuation is wrong, but there ought yet to be
a simplification.

-- gil

Reply via email to