The answer to "why" is complicated.  It has to do with the differing
alignments, and the order in which HLASM does things.

Try putting a FTOxxxx DS 0F at the beginning of the area, and base your
length EQU on that.

sas

On Thu, Aug 18, 2022 at 9:28 AM João Reginato <[email protected]> wrote:

> Hi everybody
>
>
>
> Why does the asm below work fine?
>
> …
>
> 000AE6 D72F 401C 401C 0001C 0001C  1778+         XC    FTOECLR,FTOECLR
>
> …
>
> 00001C                            32951+FTOECLR  DS    0CL(FTOECLRL)
>
> 00001C                            32952+FTOAASCB DS    F
>
> 000020                            32953+FTOMTLN  DS    H
>
> 000022                            32954+         DS    H
>
> 000024                            32955+FTOJOBNM DS    CL8
>
> 00002C                            32956+FTOJOBID DS    CL8
>
> 000034                            32957+FTOSTPNM DS    CL8
>
> 00003C                            32958+FTOPSTNM DS    CL8
>
> 000044                            32959+FTOAPLNM DS    CL8
>
>                       00030       32963+FTOECLRL EQU   *-FTOAASCB
>
>
>
> …
>
> And the asm below doesn’t? (after few changes)
>
> …
>
> 000A32 0000 0000 0000 00000 00000  1729+         XC    FTOECLR,FTOECLR
>
> ** ASMA044E Undefined symbol - FTOECLR
>
> ** ASMA044E Undefined symbol - FTOECLR
>
> …
>
> 000020                            32923+FTOECLR  DS    0CL(FTOECLRL)
>
> ** ASMA080E Statement is unresolvable
>
> 000020                            32924+FTOMTLN  DS    H
>
> 000022                            32925+         DS    H
>
> 000024                            32926+FTOAASCB DS    F
>
> 000028                            32927+FTOJOBNM DS    CL8
>
> 000030                            32928+FTOJOBID DS    CL8
>
> 000038                            32929+FTOSTPNM DS    CL8
>
> 000040                            32930+FTOPSTNM DS    CL8
>
> 000048                            32931+FTOAPLNM DS    CL8
>
>                       00030       32934+FTOECLRL EQU   *-FTOMTLN
>
>
>
> When I put FTOAASCB (a fullword) in the front, it works fine.
>
> When I put FTOMTLN (a halfword) in the front, is doesn’t work.
>
>
>
> Any tips?
>
> Regards
>
> João
>
>
>
>
>
>
>
> --
> O software antivírus Avast realizou uma checagem de vírus neste e-mail.
> www.avast.com
>

Reply via email to