That complicates my code, where I wanted to do this to generate table entries.  
Now I need a separate named field for each generated table entry!

Robert Ngan
DXC Luxoft

-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of Paul Gilmartin
Sent: Tuesday, November 23, 2021 14:31
To: [email protected]
Subject: Re: ASMA030E?

On Nov 23, 2021, at 12:40:13, Ngan, Robert (DXC Luxoft) wrote:
>
> Why can't I code:
>
>         DC    A(=C'blah')
>
> This give an ASMA030E error, but wanting the address of a literal string 
> seems legitimate to me as I don't otherwise need a named field with this 
> value.
>
Jonatnan Scott answered the same question a couple weeks ago.  DC and literals 
are handled by a single subroutine which is not coded recursively.  He cited a 
compromise between code complexity and perceived usefulness.

-- gil



Reply via email to