It is illogical that this does not work but that is the way it is. Do S-constants work? That is, is S(=x'123') valid, and might that work for you?
Do you have to use literals? Can you use named constants instead? Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Windt, W.K.F. van der (Fred) Sent: Thursday, December 7, 2017 11:12 PM To: [email protected] Subject: Address of a =LITERAL Hello, I want to generate a constant with the four byte of a literal in the literal pool. I naively coded this: DC A(=X'00029983') Hoping to get the literal X'00029983' in the literal pool and a four byte address of that literal out of the DC instruction but instead I get this error message: ** ASMA030E Invalid literal usage - =X'00029983') I must be making some silly mistake and tried to RTFM but can't figure out how to do this... Can somebody point me in the right direction? Thanks, Fred! ----------------------------------------------------------------- ATTENTION: The information in this e-mail is confidential and only meant for the intended recipient. If you are not the intended recipient, don't use or disclose it in any way. Please let the sender know and delete the message immediately. -----------------------------------------------------------------
