AREAD is how you want to do something. What is it you want to accomplish? 
AREAD will never read from a macro because it could have serious unforeseen 
consequences. AREAD does not deal with line continuations. Worse yet, the line 
from the macro could corrupt that macro causing the macro's author grief with 
totally unexpected behavior.

What is your goal? For instance, I have macro's that generate IPCS mapping 
directly from mapping macro's. I have macro's that initialize the work area for 
a program. Sometimes AREAD works best but not always.

Jon.  
    On Monday, May 3, 2021, 12:44:39 PM PDT, Tony Thigpen <[email protected]> 
wrote:  
 
 Yes, I want to read the next statement from the macro that actually 
called the AREAD using macro.

Tony Thigpen

FancyDancer wrote on 5/3/21 2:30 PM:
> If you use AREAD within a macro, it will use the next card image from the 
> primary input, NOT the next image in the macro definition. Do you want it to 
> read the next statement in the macro definition?
> 
> Dan Snyder
> 
  

Reply via email to