Enabling ARM Macro Execution |
The two methods of setting the _ARMEXEC macro variable are during compilation or execution. Both methods are explained in Setting the _ARMEXEC Macro Variable. You can use a combination of these methods. For example, set _ARMEXEC to 1 using the compilation method (perhaps in an autoexec file at SAS initialization). Then code a menu option or element within the application to turn _ARMEXEC on and off dynamically using the CALL SYMPUT statement.
In SCL, if _ARMEXEC is not set to 1, when the program compiles, all macros are set to null, and the ARM interface is unavailable until it is recompiled with _ARMEXEC set to 1.
Additionally, to enable proper compilation of the macros within SCL, you must set the _ARMSCL global macro variable to 1 before issuing any ARM macros. The _ARMSCL macro variable suppresses the generation of DROP statements, which are invalid in SCL.
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.