You can also add a small amount of code that executes at the beginning of your 
module.  This new code tests if it resides above the line.  If it does, it 
issues a warning/error message and exits.

Bill Fairchild
Programmer
Rocket Software
408 Chamberlain Park Lane * Franklin, TN 37069-2526 * USA
t: +1.617.614.4503 *  e: bfairch...@rocketsoftware.com * w: 
www.rocketsoftware.com


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On 
Behalf Of Jay Toran
Sent: Thursday, June 28, 2012 9:02 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Detecting RMODE at assembly time

I am attempting to write a macro prints an MNOTE if the programmer specifies 
the following in the source

RMODE 31    or
RMODE ANY

Any ideas if this is possible or not?

If the module is above the line, my code that the macro calls doesn't run.
I want to give the programmer a warning if that could happen by letting them 
know at assemble time.

If it isn't possible, any ideas?

Reply via email to