Look up the DOUBLE character-valued built-in function in your Assembler Language Reference. The description specifically mentions this situation. It is in chapter 9 in my very old reference.
-----Original Message----- From: IBM Mainframe Assembler List <[email protected]> On Behalf Of paul schuster Sent: Tuesday, November 30, 2021 2:42 PM To: [email protected] Subject: MNOTE imbedded apostrophes / ASMA163W Hello: I have a macro that does this: &WHAT SETC 'C''R''' The &WHAT is later used in a MVI FIELD,&WHAT instruction and correctly assembles as MVI FIELD,C'R' All good. I am trying to use the &WHAT in a MNOTE like this: MNOTE *,'&&WHAT = &WHAT' However this generates MNOTE *,'&&WHAT = C'R'' ASMA163W Operand not properly enclosed in quotes I tried a few variations of the apostrophes but either get assembly error or the ASMA163W. I am trying to get an clean MNOTE like this: *,&WHAT = C'R' Is this possible? Thank you.
