On Mon, 6 Jul 2020 14:55:39 -0500, Scott Fagen <scottf_21...@outlook.com> wrote:

With a great deal of online help from Steve Smith and Alex Brodsky, they 
(independently) discovered that "above" the displayed code (generated within my 
prolog), I had a DS statement that had a variable duplication factor that 
relied on a value that was "below" (declared by one of the macros in an 
insert_asm statement).  This keeps the assembler from knowing at the time of 
the failing SETA statement what the location counter is and it fails, even 
though the results of the statement only needs the relative offsets.

For clarity, the point of the code being generated by the compiler is to ensure 
that the data generated within the __asm(...:DS...) statement is less than or 
equal to the length specified (defaults to 255).

From a user perspective, the error messages are inscrutable.

** ASMA032E Relocatable value or unresolved symbol found when absolute value 
required - OPENC/@@LAB@3L                 
** ASMA435I Record 944 in SSAF.METALC.C.ASM(CKKTESTR) on volume: TSO001

I'm guessing that OPENC means "open code," @@LAB@3L is where the failure is 
occuring, but looking at the output after the assembler is finished doesn't 
make it obvious that @@LAB@3L was somehow defective when the SETA was being 
processed.

Scott Fagen
21st Century Software                                                
     

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to