I guess the answer is found in the Assembler manual: "Immediate data must be specified as absolute expressions whose range of values depends on the machine instruction for which the data is required."
There is no good reason why what I am attempting *should* not work. As I said, if I code DC X'C02F',AL4(FOO) I believe I will get exactly what I intended and it will execute as intended. But it doesn't work because it doesn't work. It doesn't work because "immediate data must be specified as absolute expressions." Charles -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Charles Mills Sent: Tuesday, December 27, 2016 5:02 PM To: [email protected] Subject: ASMA032E Relocatable value or unresolved symbol found when absolute value required Why won't this assemble? SOME CSECT LLILF 2,FOO OTHER CSECT FOO EQU * Why do I get ASMA032E Relocatable value or unresolved symbol found when absolute value required - FOO? Can't the assembler generate a relocatable address constant for the immediate operand of LLILF? Or am I doing something stupid that I am not seeing? DC A(FOO) at the same spot assembles with no problem. I could presumably code DC X'C02F',AL4(FOO) and it would execute correctly. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
