On 6/28/23 08:17:20, Dave Clark wrote:
"IBM Mainframe Assembler List" wrote on
06/28/2023 10:09:27 AM:
Just looked at the doc for LCLC says for variable symbol says can be
with or with out leading &

However when I tried to do a SETC against it I got a assembly error

         I believe that it means LCLC does not require the leading
ampersand but in all other uses the leading ampersand is required -- and
it is the same variable.

That's gratuitous flexibility that adds no expressive power,
but leads to confusion, as in the original ply.

Rather, for consistency, symbols appearing as operands of
LCLC should be evaluated:

&NAME    SETC  '&&X'
         LCLC  &NAME

... should declare &X to be a local symbol.

(What about LCLA and LCLB?)

--
gil

Reply via email to