You can contact technical support to see if they have any advice on the out-of-memory situation. Regarding macros, SAS/IML Studio programs are not parsed by the macro facility, so it doesn't support macros in the usual way. However, you can 1) call macros within a SUBMIT/ENDSUBMIT block. These are executed in the SAS environment. 2) Use the SYMGET and SYMPUT family of functions to get or set macro variables from within a SAS/IML Studio program. For example, the following statements set a macro variable (The '@' operator is shorthand for 'submit this single SAS statement.'), then reads in the macro and assigns it to an IML variable: @%let g=5; /* submit global stmt */ five = symgetn("g"); print five; See p. 99 of my book for more examples.
... View more