On Mon, 6 Jul 2020 13:59:30 -0400, Steve Smith <[email protected]> wrote:

>My guess is that something in your inserted prologue/epilogue code contains
>a forward-reference that causes HLASM to suspend the location counter in
>pre-assembly.
>
Steve - any idea of what I should be looking for.  It's not clear to me how you 
came to this conclusion:  

1) The $STATIC area does seem to be rightfully placed in the module:  here is 
the previous CKKTESTR CSECT from the assembler listing:

0006F8                00000 00948  1760 CKKTESTR CSECT ,                        
                                 000000 
0006F8                             1761 @@CONST@AREA@@ DS 0D                    
                                 000000 
0006F8 C595A38599858440            1762          DC    
XL16'C595A38599858440A38885E2A4827A00'                    000000 
000708 C595A38599858440            1763          DC    
XL16'C595A38599858440A38885E2A4827A40'                    000000 
000718 D9858396A58599A8            1764          DC    
XL16'D9858396A58599A8C5A789A300C9C595'                    000000 
000728 A38599858440A388            1765          DC    
XL16'A38599858440A38885E2A4827A40D985'                    000000 
000738 A399A800C595A385            1766          DC    
XL16'A399A800C595A38599858440D4818995'                    000000 
000748 4D5D40D48189957A            1767          DC    
XL16'4D5D40D48189957A00C9C595A3859985'                    000000 
000758 8440D48189954D5D            1768          DC    
XL16'8440D48189954D5D40D9858396A58599'                    000000 
000768 A8C5A789A37A00C9            1769          DC    
XL16'A8C5A789A37A00C9C595A38599858440'                    000000 
000778 D48189954D5D40D9            1770          DC    
XL14'D48189954D5D40D985A399A87A00'                        000000 
         5650ZOS V2.2 z/OS XL C                            
"SSAF.METALC.C(CKKTESTR)"                           Page   36
  Active Usings: None                                                           
                                        
  Loc  Object Code    Addr1 Addr2  Stmt   Source Statement                      
            HLASM R6.0  2020/07/06 14.28
000786                00000 00948  1772 CKKTESTR CSECT ,                        
                                 000000 
000788                             1773 $STATIC  DS    0D                       
                                 000000 
000788 0000000000000000            1774          DC    (336)X'00'               
                                 000000 
0008D8                008D8 007C8  1775          ORG   $STATIC+64               
                                 000000 

And @@LAB@xL is "8" in both the working and non-working versions of the 
assembler code...based on the length of the DC CL4 followed by the DS 0D...

Scott Fagen
21st Century Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to