Consider X DC A(FOO) Where A is *not* external to the assembly ORG *-4 DC F'0'
What will X contain at runtime? I have not tested, but I am going to go out on a limb and guess "the load address of the CSECT containing FOO." I will leave "why" as an exercise for the reader. Charles -----Original Message----- From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf Of Jonathan Scott Sent: Monday, April 7, 2025 7:26 AM To: ASSEMBLER-LIST@LISTSERV.UGA.EDU Subject: Two questions about HLASM (was RE: Object Record size) Peter, please change the thread subject when asking a different question. I've done so now. And although I'm often around now (being retired) any new question should be addressed to the list! 1. If you overlay a relocatable field with another relocatable field, you are giving the assembler two conflicting definitions of the same storage location. There will be more than one RLD (not ESD) entry and the results are likely to be incorrect. I do not know what the binder and loader will do in this case, but if they do not detect it, the result will probably be that relocation is incorrectly applied twice.