On Dec 29, 2021, at 07:42:08, Seymour J Metz wrote:
> 
> You'd have a similar problem with
> 
> FIELDA     DS    7CL10
> 
> The length would be 10, not 70.
>  
The OP was envisioning LOCTR.  I'd consider ORG:
X1       DS    7CL10
X2       EQU   *-X1
         ORG   X1
FIELDA   DS    CLX2

But it's possible to mislead HLASM lookahead with AIF.
I once wrote a test that defined a constant as type E
only if its type attribute was F, or vice versa.  I'd
prefer that HLASM report an error in such cases rather
Than guessing incorrectly.

-- gil

Reply via email to